iAlex
Junior Member
Posts: 73
|
Post by iAlex on Dec 19, 2007 19:53:53 GMT -5
This code will remove the navigation tree.
That is the part, that looks something like this: Forum Name :: Category Name :: Board Name
Global Footer.
Cross Browser.
Open Source.
<script type="text/javascript"> <!--
/*Remove Navigation Tree - By iAlex - Open Source*/ var iLink=document.getElementsByTagName('a'); for(i=0;i<iLink.length;i++){ if(iLink.item(i).className.match(/^nav$/)){ while(!iLink.item(i).nextSibling.nodeName.match(/^(script|table|tr|td|div)$/i)){ iLink.item(i).parentNode.removeChild(iLink.item(i).nextSibling); } iLink.item(i).style.display='none'; break; } }
//--> </script>
|
|