|
Post by tunescool on Jul 19, 2009 16:49:47 GMT -8
i only got to the 30s so far, and last post wider wont work now, and remove all icons. but i put that back at 66 because it took away the main page on/off for now
|
|
|
Post by Wormopolis on Jul 19, 2009 17:33:35 GMT -8
<script type="text/javascript"> <!-- var lastPostCell = document.getElementsByTagName('td'); for(l=0; l<lastPostCell.length; l++) { if(lastPostCell[l].className == 'windowbg2' && lastPostCell[l].width == '24%') { lastPostCell[l].width = '40%'; lastPostCell[l].previousSibling.previousSibling.previousSibling.width = '50%'; }} // --> </script>
that should do your expanding.
|
|
|
Post by tunescool on Jul 19, 2009 18:13:03 GMT -8
its wider now, but 3 lines and over to the left, i had it centered
|
|
|
Post by Wormopolis on Jul 19, 2009 19:30:42 GMT -8
the last post cell was centered you mean?
and in the new thread code, change the width from 15% to 16% or 17%
|
|
|
Post by tunescool on Jul 19, 2009 23:23:55 GMT -8
|
|
|
Post by Wormopolis on Jul 20, 2009 6:12:43 GMT -8
after this line:
lastPostCell[l].width = '40%';
add this:
lastPostCell[l].align = 'center';
|
|
|
Post by tunescool on Jul 20, 2009 6:46:48 GMT -8
i dont have the bookmark, i dont see anything that resembles the code that changed last post to 2 lines, maybe i through it out on accident. i looked in everyone one of my request files in the last 2 months and slighty insanes, sds, and proboards databases, could you just make one? that centered it, and my boards are still at too high. the 2 lined last post was still there when they were that height
new thread isnt in the sub boards
the forums that dont have sub boards or posts are still at 2 lines if that helps
|
|
|
Post by Wormopolis on Jul 20, 2009 14:32:07 GMT -8
Yah I dont see anything that turned last post into 2 lines either. how were the 2 lines looking like?
|
|
|
Post by Wormopolis on Jul 20, 2009 14:33:24 GMT -8
and if you want new thread on sub-boards, move both the "new thread" code and the combining code to the global footer
|
|
|
Post by tunescool on Jul 20, 2009 17:00:29 GMT -8
in Set Of Valentines Day ... by tunes.cool on Jul 17, 2009, 5:53am if i put them in global footers, new threads or sub boards, they dont show up celebnook.proboards.com/index.cgi?
|
|
|
Post by Wormopolis on Jul 20, 2009 17:30:45 GMT -8
move this to under those 2 codes in global:
<script type="text/javascript"> <!-- var lastPostCell = document.getElementsByTagName('td'); for(l=0; l<lastPostCell.length; l++) { if(lastPostCell[l].className == 'windowbg2' && lastPostCell[l].width == '24%') { lastPostCell[l].width = '30%';lastPostCell[l].align = 'center'; lastPostCell[l].previousSibling.previousSibling.previousSibling.width = '50%'; }} // --> </script>
I will rewrite that code to do the 2 line thing you want as soon as I get back from dinner
|
|
|
Post by tunescool on Jul 20, 2009 17:58:19 GMT -8
all that works now
|
|
|
Post by Wormopolis on Jul 20, 2009 21:17:27 GMT -8
replace that script above with:
<script type="text/javascript"> <!-- var lastPostCell = document.getElementsByTagName('td'); for(l=0; l<lastPostCell.length; l++) { if(lastPostCell[l].className == 'windowbg2' && lastPostCell[l].width == '24%') { lastPostCell[l].width = '30%';lastPostCell[l].align = 'center'; if (lastPostCell[l].firstChild.innerHTML) { temp=lastPostCell[l].firstChild.innerHTML.split(/<br>/i); newtemp=temp[2]+"<br>"+temp[1]+" "+temp[0]; lastPostCell[l].firstChild.innerHTML=newtemp; } lastPostCell[l].previousSibling.previousSibling.previousSibling.width = '60%'; }} // --> </script>
|
|
|
Post by tunescool on Jul 20, 2009 22:04:46 GMT -8
the on/off icons came back. and still need the forums down to 2 lines, sorry about all the hassle
|
|
|
Post by Wormopolis on Jul 20, 2009 22:26:36 GMT -8
delete one of these lines:
tds[e].firstChild.rows[0].cells[1].appendChild(document.createElement('br'));
and find this line:
if(TD.width=="50%" && TD.className=="windowbg2"){
replace with
if(TD.width=="60%" && TD.className=="windowbg2"){
|
|