|
Post by Infinite on Oct 2, 2004 2:18:04 GMT
Script Name: Move On/Off Icon Column Version: 1 Script Creators: Reverence/Infinite & Mousy Cross-Browser: No Compatability: Proboards Forums (Though it may work on other forum systems it has not been tested there.)Features:- Moves the on/off icon column to the right end of the table. - Gives the on/off icon column a name. Future Features:- Cross-Browser If you find any errors please let me know immediately. Thanks. Script:Main Footer:<script> /*Move On/Off Icon Column created by Infinite & Mousy. Copyright 04-05, All Rights Reserved. This code may not be edited or posted by anyone without the consent of the owners.*/ var td=document.getElementsByTagName('TD') for(t=0;t<td.length;t++){ if(td[t].className=="windowbg" && td[t].width=="8%" && td[t].align=="center" && td[t].vAlign=="top"){ var innet=td[t].innerHTML td[t].style.display="none" var ne=td[t].parentNode.insertCell() ne.innerHTML=innet ne.className="windowbg2" ne.align="center" } if(td[t].colSpan=="2" && td[t].className=="titlebg" && td[t].innerHTML.match('Forum Name')){ td[t].colSpan="1" var nw=td[t].parentNode.insertCell() nw.innerHTML='<font class="text1" size="2">On/Off</font>' nw.className="titlebg" } } </script> Editing The Script: No editing Required.
|
|