ME!
Moderator
~Remanifesting-Eternal.~
Posts: 778
|
Post by ME! on Feb 23, 2006 21:17:27 GMT
This Code Re-names the Forum Jump, makes a copy to the top of the board and centers both Forum jumps. Global Headder <div align="center" id="nav2"></div> Global Footer <script> <!-- /* rename/center/copy-to-head forum jump code- Dregond*/ var td=document.getElementsByTagName("td"); for(e=0;e<td.length;e++){ if(td[e].innerHTML.match(/Forum Jump/) && td[e].align=="right"){ td.item(e).firstChild.firstChild.innerHTML = ' Quick Navigation'; td[e].align="center"; }} var select=document.getElementsByTagName("select"); for(t=0;t<select.length;t++) { if(select[t].options[0].text==" Quick Navigation") { document.getElementById("nav2").innerHTML = select[t].parentNode.innerHTML; } } //--> </script> Red : Change to rename Forum Jump example : Quick Navigation My first code, dont eat me please
|
|