|
Post by MonsterControl on Jan 27, 2012 20:20:19 GMT -4
<style type="text/css"> .nav, .navcell, .navcell a, .navcell font { font-size: 12px !important; } </style> <script type="text/javascript"> <!-- /* Move navigation to forum jump row by Devin Froseth - do not redistribute */
var nav_separator = "->"; // text to replace the :: separator
// DO NOT EDIT BELOW THIS LINE
// getting some elements var forumjump = document.getElementById("forumjump"); var a = document.getElementsByTagName("a");
// new cell in forum jump row var new_nav_parent = forumjump.parentNode.parentNode.insertCell(0); new_nav_parent.width = "70%"; new_nav_parent.className = "navcell";
// moving the nav links to the new cell for(i = 0; i < a.length; i ++){ if(a[i].className && a[i].className == "nav"){ var nav_parent = a[i].parentNode; nav_parent.removeChild(nav_parent.getElementsByTagName("br")[0]); while(nav_parent.firstChild.nodeName.match(/^(a|#text|font)$/i)){ new_nav_parent.appendChild(nav_parent.firstChild); } // replacing the nav link separators new_nav_parent.innerHTML = new_nav_parent.innerHTML.replace(/::/gi, nav_separator); break; } }
//--> </script>
|
|