|
Post by Wormopolis on Dec 9, 2009 21:10:22 GMT -8
ok for 1 gimme a bit. Im going to modify a previosu code I wrote so I dont have to write it from scratch.
this should handle 2:
<table width="300px" cellpadding="4" cellspacing="1" align="center" class="bordercolor" id="specialTable" style="display:none;"> <tr> <td width="92%" class="windowbg2" vAlign="top" align="center"> <font size=1><b> <a href="http://celebnook.proboards.com/index.cgi?board=celebsam&action=display&thread=1556">Rules * Thread Titles * Proboards Terms Of Service</a><br /> <font size=1><b><a href="http://celebnook.proboards.com/index.cgi?board=celebsam&action=display&thread=2403">A Thru E Archives</a><br /></font> </td> </tr> </table> <script type="text/javascript"> if (location.href.match(/action=display/)) document.getElementById('specialTable').style.display=''; </script>
|
|
|
Post by tunescool on Dec 10, 2009 1:47:44 GMT -8
it only appears in the post page, i need it only in the thread page. and aligned left with the forum, if i use "left" it puts it directly on the left side of the window
|
|
|
Post by Wormopolis on Dec 10, 2009 3:16:21 GMT -8
did that backwards then...
if (location.href.match(/board=/) && !location.href.match(/action=display/)) document.getElementById('specialTable').style.display='';
and recopy the table HTML. you had it all messed up. closing tags without opening ones.. an opening <b> tag at the end without a close...
|
|
|
Post by tunescool on Dec 10, 2009 4:48:58 GMT -8
now just to the left, and i should just be able to copy this table and use on any other board. i wont mention i added 2 other tables to the main page yet
|
|
|
Post by Wormopolis on Dec 10, 2009 7:15:35 GMT -8
you still want it 300 px wide though?
<div width="802" align="center"> <table width="300px" cellpadding="4" cellspacing="1" align="left" class="bordercolor" id="specialTable" style="display:none;"> <tr> <td width="100%" class="windowbg2" vAlign="top" align="center"> <font size=1><b> <a href="http://celebnook.proboards.com/index.cgi?board=celebsam&action=display&thread=1556">Rules * Thread Titles * Proboards Terms Of Service</a><br /> <font size=1><a href="http://celebnook.proboards.com/index.cgi?board=celebsam&action=display&thread=2403">A Thru E Archives</a><br /></b></font> </td> </tr> </table> </div> <br>
|
|
|
Post by tunescool on Dec 10, 2009 8:08:57 GMT -8
the table isnt anywhere now. yea its just gonna be 5 or 6 small links(300px)
|
|
|
Post by Wormopolis on Dec 10, 2009 11:13:50 GMT -8
you erased the script?
and recopy the HTML again.. there was an unclosed <b> tag I missed.
|
|
|
Post by tunescool on Dec 10, 2009 12:06:36 GMT -8
i replaced what was there with the last code you gave me
|
|
|
Post by Wormopolis on Dec 10, 2009 12:20:19 GMT -8
yeah I just wanted you to replace the HTML part. not the script part. put back the script part or it wont show up.
Im still trying to get it to line up with the left edge of the board. I might have to do a second div in there, but I shouldn't have to...
|
|
|
Post by tunescool on Dec 10, 2009 12:40:49 GMT -8
im lost now, this is what i have
<table width="300px" cellpadding="4" cellspacing="1" align="center" class="bordercolor" id="specialTable" style="display:none;"> <tr> <td width="92%" class="windowbg2" vAlign="top" align="center"> <font size=1><b> <a href="http://celebnook.proboards.com/index.cgi?board=celebsam&action=display&thread=1556">Rules * Thread Titles * Proboards Terms Of Service</a><br /> <font size=1><a href="http://celebnook.proboards.com/index.cgi?board=celebsam&action=display&thread=2403">A Thru E Archives</a><br /></b></font> </td> </tr> </table> <script type="text/javascript"> if (location.href.match(/board=/) && !location.href.match(/action=display/)) document.getElementById('specialTable').style.display='';
|
|
|
Post by Wormopolis on Dec 10, 2009 12:48:31 GMT -8
<div width="802" align="center"> <table width="300px" cellpadding="4" cellspacing="1" align="left" class="bordercolor" id="specialTable" style="display:none;"> <tr> <td width="100%" class="windowbg2" vAlign="top" align="center"> <font size=1><b> <a href="http://celebnook.proboards.com/index.cgi?board=celebsam&action=display&thread=1556">Rules * Thread Titles * Proboards Terms Of Service</a><br /> <font size=1><a href="http://celebnook.proboards.com/index.cgi?board=celebsam&action=display&thread=2403">A Thru E Archives</a><br /></b></font> </td> </tr> </table> </div> <br> <script type="text/javascript"> if (location.href.match(/action=display/)) document.getElementById('specialTable').style.display=''; </script>
|
|
|
Post by tunescool on Dec 10, 2009 13:24:28 GMT -8
thread page
|
|
|
Post by Wormopolis on Dec 11, 2009 0:43:04 GMT -8
you have some weird HTML things going on in there..
why do you have tags that have double slashes in them? </TD><//TD></TR><//TR>
|
|
|
Post by tunescool on Dec 11, 2009 3:38:39 GMT -8
what is that, ive never touched any coding like that.
|
|
|
Post by Wormopolis on Dec 11, 2009 7:59:51 GMT -8
Its part of the top table you added. Im trying to recreate your headers and I noticed it. do a search on your headers and you will see it. they are everywhere up there.
|
|