|
Post by Wormopolis on Dec 10, 2009 14:20:17 GMT -8
I'm not entirely sure why that didnt work... I think Im going to have to try a new approach then.
|
|
|
Post by Wormopolis on Dec 18, 2009 22:59:53 GMT -8
<style type="text/css"> .ICtitlereclass {background-image: url(http://i709.photobucket.com/albums/ww95/tunescool/nook/grey12.jpg);} .ICreclass {background-image: url(http://i709.photobucket.com/albums/ww95/tunescool/nook/grey12.jpg);} .boardcells {background-image: url(http://i709.photobucket.com/albums/ww95/tunescool/nook/grey12.jpg);} .threadcells {background-image: url(http://i709.photobucket.com/albums/ww95/tunescool/nook/grey12.jpg);} </style>
<script type="text/javascript"> <!-- // info center/board/thread cell reclass for (tds=document.getElementsByTagName('td'), i=0; i<tds.length; i++) { if (tds[i].className=='catbg' && tds[i].innerHTML.match(/(forum statistics|today's birthdays|users online|active users|todays events)/i)) { tds[i].className+=' ICtitlereclass'; tds[i].parentNode.nextSibling.firstChild.className+=" ICreclass"; tds[i].parentNode.nextSibling.firstChild.nextSibling.className+=" ICreclass"; } if (tds[i].className.match(/windowbg/) && tds[i].width.match(/^(1|23|24)%/)) { tds[i].className+=' boardcells'; } if (tds[i].className.match(/windowbg/) && tds[i].width.match(/^(4|14|15|20)%/)) { tds[i].className+=' threadcells'; } }
// --> </script>
|
|
|
Post by tunescool on Dec 18, 2009 23:30:57 GMT -8
everything changed, i still wanted the top bar pink
|
|
|
Post by Wormopolis on Dec 19, 2009 9:45:32 GMT -8
<script type="text/javascript"> <!-- // info center/board/thread cell reclass for (tds=document.getElementsByTagName('td'), i=0; i<tds.length; i++) { if (tds[i].className=='catbg' && tds[i].innerHTML.match(/(forum statistics|today's birthdays|users online|active users|todays events)/i)) { if (!tds[i].innerHTML.match(/forum statistics/)) tds[i].className+=' ICtitlereclass'; tds[i].parentNode.nextSibling.firstChild.className+=" ICreclass"; tds[i].parentNode.nextSibling.firstChild.nextSibling.className+=" ICreclass"; } if (tds[i].className.match(/windowbg/) && tds[i].width.match(/^(1|23|24)%/)) { tds[i].className+=' boardcells'; } if (tds[i].className.match(/windowbg/) && tds[i].width.match(/^(4|14|15|20)%/)) { tds[i].className+=' threadcells'; } }
// --> </script>
|
|
|
Post by tunescool on Dec 19, 2009 20:33:43 GMT -8
theyre still all gray
|
|
|
Post by Wormopolis on Dec 19, 2009 20:39:32 GMT -8
I know what I did..
in that line if (!tds.innerHTML.match(/forum statistics/)) tds.className+=' ICtitlereclass';
change to
if (!tds.innerHTML.match(/forum statistics/i)) tds.className+=' ICtitlereclass';
|
|
|
Post by tunescool on Dec 19, 2009 21:45:34 GMT -8
the pink came back, what if i want to change the height and font size of the gray ones
|
|
|
Post by Wormopolis on Dec 20, 2009 1:26:28 GMT -8
they have a class now so just add the CSS into the style tag.
|
|
|
Post by tunescool on Dec 20, 2009 20:11:01 GMT -8
i cant get i to work
<style type="text/css"> .ICreclass {font-size: 8px; height: 14px;} .ICtitlereclass {background-image: url(http://i709.photobucket.com/albums/ww95/tunescool/nook/grey12.jpg);} .ICreclass {background-image: url(http://i709.photobucket.com/albums/ww95/tunescool/nook/grey12.jpg);} .boardcells {background-image: url(http://i709.photobucket.com/albums/ww95/tunescool/nook/grey12.jpg);} .threadcells {background-image: url(http://i709.photobucket.com/albums/ww95/tunescool/nook/grey12.jpg);} </style>
|
|
|
Post by Wormopolis on Dec 20, 2009 21:50:14 GMT -8
you cant have multiple selectors in the same style tag. just combine the stuff between { }
|
|
|
Post by tunescool on Dec 20, 2009 22:21:32 GMT -8
i dont know what you meant by that
|
|
|
Post by Wormopolis on Dec 21, 2009 8:53:59 GMT -8
currently you are trying to change the text inside the info center to 8pt and cell heights of 14 px? that wont be possible because multiple lines automatically make the cell taller then 14 px.
|
|
|
Post by tunescool on Dec 21, 2009 9:35:14 GMT -8
well i just put any numbers to see if it worked. i just seen what you meant the first time .ICreclass {font-size: 2px; height: 16px; background-image: url(http://i709.photobucket.com/albums/ww95/tunescool/nook/grey12.jpg);} thats what i did, nothing happened. so changing the height is out of the question? cause then ill just leave itwith the same font
|
|
|
Post by Wormopolis on Dec 21, 2009 9:52:45 GMT -8
you are changing the info center contents, not the title bar.. or do you know this?
|
|
|
Post by tunescool on Dec 21, 2009 10:13:03 GMT -8
obviously not, we were talking about chriss code in the main footer, then you said ICreclass came from a different code, thats all i saw
|
|