It works very fine in all areas of my website except the sub menus of the SuckerTree navigation: the background.png disappears and I don't know how to pack it into a <div>container to solve this issue (if this is generally possible).Would you please be so kind and give me a hint?

.wtronicmenuwidth1 {width:190px; /*Width of the first top level menu link items*/padding-left:5px;}.wtronicmenuwidth2 {width:190px; /*Width of the second top level menu link items*/padding-left:15px;}.wtronicmenuwidth3 {width:190px; /*Width of the third top level menu link items*/}.wtronicmenuwidth4 {width:60px; /*Width of the third last top level menu link item*/padding-top:4px;padding-left:130px;}.wtronicmenuwidth5 {width:60px; /*Width of the last two top level menu link items*/padding-top:4px;}

function buildsubmenus_horizontal(){for (var i=0; i<menuids.length; i++){ var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul") for (var t=0; t<ultags.length; t++){ if (ultags[t].parentNode.parentNode.id==menuids[i]){ //if this is a first level submenu ultags[t].style.top=ultags[t].parentNode.offsetHeight+"px" //dynamically position first level submenus to be height of main menu item } else{ //else if this is a sub level menu (ul) ultags[t].style.left=ultags[t-1].getElementsByTagName("a")[0].offsetWidth+"px" //position menu to the right of menu item that activated it } ultags[t].parentNode.onmouseover=function(){ this.getElementsByTagName("ul")[0].style.visibility="visible" } ultags[t].parentNode.onmouseout=function(){ this.getElementsByTagName("ul")[0].style.visibility="hidden" } } }}

There are still some other problems with an 1 px overlap in the second menu (IE and Firefox) and I have to change the pseudo-classes (wrong order), but I think this are independent issues, this has nothing to do with the disappearing background in the menu.

Who is online

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum