summerpewp Posted December 15, 2007 Share Posted December 15, 2007 I'm having issues with suckerfishes drop down php code.. anyone familiar with it? I'm trying to create a sub menu using the same method, sucker fishes code seems to work the best on most platforms.. if this isn't the case i would like to know what you would suggest. I'm using a simple UL IL system.. there is a javascript code which they offered to use.. I know this isn't the java form but I'll post the code anyways as i'm not sure if this is something i need to edit... <script type="text/javascript"> startList = function() { if (document.all&&document.getElementById) { navRoot = document.getElementById("nav"); for (i=0; i<navRoot.childNodes.length; i++) { node = navRoot.childNodes[i]; if (node.nodeName=="LI") { node.onmouseover=function() { this.className+=" over"; } node.onmouseout=function() { this.className=this.className.replace(" over", ""); } } } } } window.onload=startList; </script> This is the drop down code i'm trying to make a "sub menu" for... <li class="menuitem"><a href="#" class="link">Item Database</a> <ul id="nav"> <li class="menusub"><a href="weapons.php" class="link">Weapons</a> <ul> <li><a href="#" class="link">Spear</a></li> <li><a href="#" class="link">Sword</a></li> <li><a href="#" class="link">Staff</a></li> <li><a href="#" class="link">Fan</a></li> <li><a href="#" class="link">Fist</a></li> <li><a href="#" class="link">Axe</a></li> <li><a href="#" class="link">BroadSword</a></li> <li><a href="#" class="link">Bow</a></li> <li><a href="#" class="link">Hook</a></li> </ul> </li> Thanks for any help in advance! Link to comment Share on other sites More sharing options...
summerpewp Posted December 16, 2007 Author Share Posted December 16, 2007 Any one know? Need this ASAP ... tried searching but no luck:( thanks Link to comment Share on other sites More sharing options...
Barand Posted December 16, 2007 Share Posted December 16, 2007 Double post! Link to comment Share on other sites More sharing options...
Recommended Posts