inherit
14661
0
Aug 19, 2015 7:28:20 GMT -8
Xylish
2,869
October 2003
popojoe
|
Post by Xylish on Oct 10, 2005 0:11:45 GMT -8
Forums: ProBoards Version 4 Compatibility: FF and IE 6.0 Location: Global Footers Description: Adds a image beside your current navigation tree. Similar to pbv3, but with pbv4 styled navigation tree. Editing: Just the ImgUrl ="YOUR FOLDER IMG URL HERE", and within the double quotes please. Preview: Here<script type="text/javascript"> <!-- /* Insert image before navigation tree Coded by Xylish/Joe/Popojoe For Studio Zero - http://studiozero.proboards44.com */
//Your folder's IMG url ImgUrl = "YOUR FOLDER IMG URL HERE"
//Please do not edit below here function Get(which){ return document.getElementsByTagName(which); } TDNode = Get('TD');
function Create(which){ return document.createElement(which); } IMG = Create('IMG');
for(i=0;i<TDNode.length;i++){ objectTD = TDNode.item(i); IMG.border="0" IMG.src= ImgUrl; if(TDNode[i].width == "100%" && TDNode[i].vAlign == 'top'){ if(objectTD.getElementsByTagName('a').item(0).className == 'nav'){ inserting = objectTD.getElementsByTagName('A').item(0); inserting.parentNode.insertBefore(IMG, inserting); IMG.parentNode.insertBefore(document.createTextNode(' '), IMG.nextSibling); } } } //--> </script>
|
|