Matt
Graphics Admin
Great admin or greatest admin?
Posts: 4,891
|
Post by Matt on Jun 5, 2006 20:14:30 GMT -5
Created By: Todge Creator's Comments: This will remove the 'Forum Jump' and replace it with the navagation tree...
Remove any code you already have to remove the forum jump and put this at the top of your Global Footer...
<script type="text/javascript"> <!--
/* Replace Forum Jump with navagational links by Todge Copyright © 2005 Please keep this header intact */
// Seperate nav tree from forum...
var forum=document.getElementsByTagName('table'); for(f=0; f<forum.length; f++) { if(forum[f].align=='center' && forum[f].cellPadding=='0' && forum[f].cellSpacing=='0' && forum[f].width=='92%' && forum[f].className=='') { var forumTD=forum[f].getElementsByTagName('TD'); var navTree=forumTD[0].innerHTML.split(/<tab/i)[0].split(/<a/i); navTree[0]=''; navTree=navTree.join('<a'); } }
// Replace Forum Jump with nav tree...
navTree = navTree.split(/<script/i)[0];
for(f=0; f<forumTD.length; f++) { if(forumTD[f].align=='right' && forumTD[f].innerHTML.match(/Forum Jump/)) { forumTD[f].align='left'; forumTD[f].innerHTML=navTree; } }
// --> </script>
|
|