|
Post by rhondairv on Jun 8, 2010 17:38:46 GMT -8
Is there a way to color the post window a certain color and nothing else? When i try to change it in the admin panel it changes other window color.
If not then is there a code that can be written?
|
|
|
Post by Wormopolis on Jun 8, 2010 18:24:21 GMT -8
only if you tell me what you define as post window so I dont write code that affects the wrong thing.
|
|
|
Post by rhondairv on Jun 8, 2010 19:38:43 GMT -8
The area of text only. Not the mini profile area. ** I know you have a lot going on. This is not a pressing matter. I can wait. I really don't want to feel pushy or always asking for codes. You're just the best and most reliable i have met so you are who i gravitate towards. If you don't get to this right away i totally understand.**
|
|
|
Post by Wormopolis on Jun 8, 2010 21:17:02 GMT -8
how can I resist a girl with devil horns?
currently, in threads, the posts alternate between windowbg1 and windowbg2. do you want all posts the same color or to alternate between 2 colors still?
|
|
|
Post by rhondairv on Jun 8, 2010 23:05:49 GMT -8
LOL glad i put my horns on! wohoooooooooooo
all the same, no alternating please.
|
|
|
Post by Wormopolis on Jun 15, 2010 0:26:34 GMT -8
sorry, I let this slide on me. I should hopefully get it done by tomorrow. Im going to basically give the post area a secondary class so you can use CSS on it. then you can do other stuff to it like font color and size if you decide to later.
|
|
|
Post by rhondairv on Jun 15, 2010 13:21:55 GMT -8
Thanks wormo! No hurry though.
|
|
|
Post by Wormopolis on Jun 15, 2010 15:15:58 GMT -8
try this:
<style type="text/css"> .windowbg_reclass{background-color: 110000; color: 00FF00;} .windowbg2_reclass{background-color: 110000; color: 0000FF;} </style>
<script type="text/javascript"> <!-- // post cell reclass // open source says wormo
if (pb_action.match(/(display|search2)/)) { //to appease the MANLC for (tds=document.getElementsByTagName('td'), w=0; w<tds.length; w++) { if (tds[w].width=='80%' && tds[w].vAlign=='top' && tds[w].className.match(/windowbg/)) { contentCell=tds[w].firstChild.rows[1].cells[0]; //contentFont=contentCell.getElementsByTagName('font'); contentCell.className=tds[w].className+'_reclass'; contentCell.style.height='100%'; } } } // --> </script>
|
|
|
Post by rhondairv on Jun 15, 2010 16:23:24 GMT -8
It's not working at all for me. Global footer?
|
|
|
Post by Wormopolis on Jun 15, 2010 23:54:37 GMT -8
yeah, global footer unless you want it to affect only 1 board.
I might need a URl to a board if its still not working, but it came straight outta a test forum.
|
|
|
Post by rhondairv on Jun 16, 2010 0:19:18 GMT -8
It didn't on my test but did on my main so tomorrow i will sync the 2 up. Must be something on the test that wouldn't work with it.
Love it and as usual GREAT job!
|
|
|
Post by tunescool on Jun 16, 2010 4:33:01 GMT -8
wormo could you edit it for just the title cell as rhonda had it circled
|
|
|
Post by Wormopolis on Jun 16, 2010 9:01:59 GMT -8
just the title area would be...
change
contentCell=tds[w].firstChild.rows[1].cells[0];
to
contentCell=tds[w].firstChild.rows[0].cells[1];
and get rid of the line that sets height to 100%
|
|
|
Post by tunescool on Jun 16, 2010 10:19:03 GMT -8
|
|
|
Post by Wormopolis on Jun 16, 2010 12:55:58 GMT -8
try...
contentCell=tds[w].firstChild.rows[0];
|
|