#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Aug 19, 2005 12:57:32 GMT -8
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 (Todge-@ntlworld.com) 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>
|
|