|
Post by Wormopolis on Jan 12, 2009 6:31:59 GMT -8
Browsers Tested: IE and FF placement: main footer (or global to work on sub boards as well) board remodel.. see preview for example. <script type="text/javascript"> <!-- // main page remodel "Earthworm" if (true) { tds=document.getElementsByTagName('td'); for (a=0; a<tds.length; a++) { if (tds[a].colSpan==2 && tds[a].innerHTML.match(/forum name/i)) { tds[a].colSpan=1; nwcl=tds[a].parentNode.insertBefore(tds[a].cloneNode(true),tds[a].nextSibling); nwcl.innerHTML="Recent Post / moderators"; tds[a].parentNode.lastChild.innerHTML="Status"; } if (tds[a].width=="8%" && tds[a+1].width=="66%" &&tds[a+2].width=="1%" && tds[a+3].width=="1%") { temp=tds[a].parentNode.lastChild; tds[a].parentNode.appendChild(tds[a]); tds[a].parentNode.insertBefore(temp, tds[a].parentNode.firstChild.nextSibling); temp=tds[a].parentNode; temp.firstChild.width="40%"; mods=""; if (temp.firstChild.getElementsByTagName('i').length>0) { mods=temp.firstChild.getElementsByTagName('i')[0].innerHTML; temp.firstChild.getElementsByTagName('i')[0].innerHTML=""; } temp.firstChild.nextSibling.width="50%"; holdit=temp.firstChild.nextSibling.innerHTML; holdagain="<table width='100%'><tr><td width='50%'>"+holdit+"</td><td align='right'>" if (mods) { holdagain+="<i>"+mods+"</i>"; } holdagain+="</td></tr></table>"; temp.firstChild.nextSibling.innerHTML=holdagain; } } } // --> </script>
SEE PREVIEW
|
|
|
Post by dave on Apr 26, 2009 1:40:08 GMT -8
I think this code is nice But with a few changes im sure it would be even better 1) Center the Board Names and Description 2) Change Position of the On/Off Icons 3) Move Moderators from current position to going along the bottom Other than that really nice code be nice to see 1 or more of my suggestions added
|
|