rubix
Elite Level 1
Rage[M:4750]
Posts: 670
|
Post by rubix on Aug 2, 2011 13:17:46 GMT
hello, Is there a simple way to alter the width of the Last Post Column?
~marshmallow
|
|
rubix
Elite Level 1
Rage[M:4750]
Posts: 670
|
Post by rubix on Aug 3, 2011 13:57:07 GMT
hmm.. for being a coding forum, you guys seem to avoid the coding help/requests.
|
|
Deko
Mega Poster
[M:0]
Posts: 230
|
Post by Deko on Aug 3, 2011 14:39:49 GMT
I'll give it a go. Though I'm not really a coder so I can't promise anything. I'll have it to you within the next couple days (that or a follow up post saying I failed )
|
|
rubix
Elite Level 1
Rage[M:4750]
Posts: 670
|
Post by rubix on Aug 3, 2011 14:52:32 GMT
Thanks Deko!
|
|
Cam
Administrator
[M:5000]
Posts: 6,381
|
Post by Cam on Aug 4, 2011 3:40:16 GMT
hmm.. for being a coding forum, you guys seem to avoid the coding help/requests. I haven't been able to get on much this week.
|
|
rubix
Elite Level 1
Rage[M:4750]
Posts: 670
|
Post by rubix on Aug 5, 2011 13:29:05 GMT
*bump*
|
|
Deko
Mega Poster
[M:0]
Posts: 230
|
Post by Deko on Aug 6, 2011 1:09:50 GMT
Why'd you bump? I got this shizz under control! Main footer (or global footer if you have sub-boards). Change the lastpost variable to the width you want in percent, it's important to leave out the % symbol (number only). <script type="text/javascript"> /* Change width of last post column By Ahmed Open Source */
// Width of last post column in percent, do not include % symbol var lastpost = "24"
var td = document.getElementsByTagName("td") for(t=0;t<td.length;t++){ if(td[t].width == "1%" && td[t+1].width == "1%"){ var boardcell = 90 - lastpost; td[t+2].style.width =""+lastpost+"%"; td[t-1].style.width =""+boardcell+""; } } </script>
|
|