hi im bit of a newbe iv been using the glossy vertical menu and when you go to the 3rd level it is ontop of the second level. will i have to edit the java in order to make it move across
sorry about explanation the best way is to see the menu if you follow the arrows you will see what i mean thanks
www.justaskdino.com/test.php
here is the code for the java (if i increase ver submenuoffset=2) its the second level that moves along i would like the 3rd level..
Code:var menuids=new Array("verticalmenu") //Enter id(s) of UL menus, separated by commas var submenuoffset=-2 //Offset of submenus from main menu. Default is -2 pixels. function createcssmenu(){ for (var i=0; i<menuids.length; i++){ var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul") for (var t=0; t<ultags.length; t++){ var spanref=document.createElement("span") spanref.className="arrowdiv" spanref.innerHTML=" " ultags[t].parentNode.getElementsByTagName("a")[0].appendChild(spanref) ultags[t].parentNode.onmouseover=function(){ this.getElementsByTagName("ul")[0].style.left=this.parentNode.offsetWidth+submenuoffset+"px" this.getElementsByTagName("ul")[0].style.display="block" } ultags[t].parentNode.onmouseout=function(){ this.getElementsByTagName("ul")[0].style.display="none"



Reply With Quote

Bookmarks