|
Post by Wormopolis on Nov 27, 2009 23:01:41 GMT -8
This will do both info center and last 3 board cells:
<style type="text/css"> .ICreclass {background-image: url(http://www.poolhousevets.co.uk/companion_factfile_worms.jpg);} .boardcells {background-image: url(http://www.allthetests.com/quiz25/picture/pic_1219077214_4.jpg);} </style>
<script type="text/javascript"> <!-- // info center cell reclass for (tds=document.getElementsByTagName('td'), i=0; i<tds.length; i++) { if (tds.className=='catbg' && tds.innerHTML.match(/(forum statistics|today's birthdays|users online|active users|events this month)/i)) { tds.parentNode.nextSibling.firstChild.className+=" ICreclass"; tds.parentNode.nextSibling.firstChild.nextSibling.className+=" ICreclass"; } if (tds.className.match(/windowbg/) && tds.width.match(/^(1|23|24)%/)) { tds.className+=' boardcells'; } }
// --> </script>
|
|
|
Post by tunescool on Nov 28, 2009 1:57:08 GMT -8
i had to put it after the sub board code you modified in the global footers for it to work properly, and i just thru a background in there and it looks nice. thanks so much! i had to put the yesterday and today colors above it to make them work. i wrote all this stuff over at SI in a thread because i cant get the thing to work but i got kicked offline and the thread wasnt posted, i fell asleep and ill start another one. i tried the code everywhere, took every code out i thought would conflict. it worked fine on my test site.
what code do you use that allows extra space in posts but all those &'nbsp's dont show up when you modify. i tried a couple a long time ago, all the same, but your site doesnt show the &'nbsp's
|
|
|
Post by Wormopolis on Nov 28, 2009 12:19:12 GMT -8
I didnt add anything special.. it might be MORE that you have something added that does...
|
|
|
Post by Wormopolis on Nov 28, 2009 12:59:50 GMT -8
this one should do info center, board cells, and thread cells:
<style type="text/css"> .ICreclass {background-image: url(http://www.poolhousevets.co.uk/companion_factfile_worms.jpg);} .boardcells {background-image: url(http://www.allthetests.com/quiz25/picture/pic_1219077214_4.jpg);} .threadcells {background-image: url(http://samismom22.files.wordpress.com/2009/09/loads_of_worms.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.className=='catbg' && tds.innerHTML.match(/(forum statistics|today's birthdays|users online|active users|events this month)/i)) { tds.parentNode.nextSibling.firstChild.className+=" ICreclass"; tds.parentNode.nextSibling.firstChild.nextSibling.className+=" ICreclass"; } if (tds.className.match(/windowbg/) && tds.width.match(/^(1|23|24)%/)) { tds.className+=' boardcells'; } if (tds.className.match(/windowbg/) && tds.width.match(/^(4|14|20)%/)) { tds.className+=' threadcells'; } }
// --> </script>
|
|
|
Post by tunescool on Nov 28, 2009 16:07:03 GMT -8
everything works, did you ask about the google ads, i dont see what the big deal is, backgrounds can be dark, its the same thing
|
|
|
Post by Wormopolis on Nov 28, 2009 21:53:16 GMT -8
I thought I did but I cannot find the thread now. You are trying to change the DIV the google ad is in right?
the ad is an Iframe, inside a DIV, inside a CENTER (that is width of page).
|
|
|
Post by tunescool on Nov 29, 2009 0:11:36 GMT -8
im not sure what you meant by change the div but i want to put a background there
|
|
|
Post by Wormopolis on Nov 29, 2009 0:33:40 GMT -8
the DIV that surrounds the ad is the same size as the ad itself. the center tag that surrounds the div is the same height as the div, but is as wide as the window.
|
|
|
Post by tunescool on Nov 29, 2009 1:21:15 GMT -8
ok so if something needs to be changed, change it if you can
|
|
|
Post by Wormopolis on Nov 29, 2009 1:51:31 GMT -8
the way you currently have it, with the dark background, and the ad floating in it, looks pretty good to me. The only improvment I could suggest is to go ad-free. but that is your call.
|
|
|
Post by tunescool on Nov 29, 2009 2:40:27 GMT -8
yesterday only bolds on the thread page, i have the code in the only place it will work. ever since i took out everything and started over yesterday isnt bold. i didnt want to bother you with it at the time(and i still have a ton of little stuff that needs to be taken care of), that code is always a problem
the google box isnt centered anymore, i really wanted to put a background in there
|
|
|
Post by Wormopolis on Nov 29, 2009 2:58:07 GMT -8
I think I have been looking at the wrong thing. You arent talking about the ad at the top of the page are you?
|
|
|
Post by tunescool on Nov 29, 2009 3:04:49 GMT -8
no, the google text ads at the bottom. i just realized its moving around with the page when i resize the browser window. i think its because of todges div. everything should be below a div to affect it rite? ill ask todge
|
|
|
Post by Wormopolis on Nov 29, 2009 3:57:36 GMT -8
the ones at the bottom are in an iframe.. iframes cant have background colors. what you see is from the HTML of the iframe itself.
|
|
|
Post by tunescool on Nov 29, 2009 5:03:20 GMT -8
alrite
|
|