Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:57
submenu links are invisible but active...
Poster: jshope
Dated: Thursday November 13 2003 - 0:31:59 GMT
Hi all,
I'm trying to figure out why my menu started acting this way and have had no luck. When you first get to the page everything looks normal. However, if you move the mouse to the right of the vertical menu on the left the cursor shows that there are clickable links there that correspond to the submenu for the top button "Menus". If you mouse over this and bring up the submenu and then mouse off so that the submenu disappears, then the invisible links are gone. BUT, if you go to another page or refresh the browser window, the invisible links from the submenu are back again... I haven't a clue why.
http://hershey.whatifdining.com
Here is my menu data...
_menuCloseDelay=300 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150 // The time delay before menus open on mouse over
_followSpeed=40 // Follow scrolling speed
_followRate=150 // Follow scrolling Rate
_subOffsetTop=5 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset
_scrollAmount=3 // Only needed for Netscape 4.x
_scrollDelay=20 // Only needed for Netcsape 4.x
with(menuStyle=new mm_style()){
onbgcolor="#000000";
oncolor="#64161c";
offbgcolor="#000000";
offcolor="#000000";
bordercolor="#000000";
borderstyle="solid";
borderwidth=6;
separatorcolor="#000000";
separatorsize="5";
padding=5;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
//subimage="SITEMENU/arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#000000', Direction=135, Strength=0)";
outfilter="randomdissolve(duration=0.5)";
}
with(menuStyle2=new mm_style()){
onbgcolor="#000000";
oncolor="#64161c";
offbgcolor="#000000";
offcolor="#000000";
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
separatorcolor="#000000";
separatorsize="1";
padding=5;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
//subimage="SITEMENU/arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#000000', Direction=135, Strength=0)";
outfilter="randomdissolve(duration=0.5)";
}
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=154;
left=12;
alwaysvisible=1;
followscroll="0";
orientation="vertical";
aI("text=;showmenu=Menus;image=SITEMENU/menus.gif;");
aI("text=;url=/modules.php?name=Content&pa=showpage&pid=4;image=SITEMENU/specials.gif;");
aI("text=;url=/modules.php?name=Content&pa=showpage&pid=5;image=SITEMENU/winelist.gif;");
aI("text=;url=/modules.php?name=coppermine;image=SITEMENU/eventphotos.gif;");
aI("text=;url=/modules.php?name=Content&pa=showpage&pid=14;image=SITEMENU/localattractions.gif;");
}
with(milonic=new menuname("Menus")){
style=menuStyle2;
top=160;
left=202;
alwaysvisible=0;
followscroll="0";
aI("text=;url=/modules.php?name=Content&pa=showpage&pid=15;image=SITEMENU/lunch.gif;");
aI("text=;url=/modules.php?name=Content&pa=showpage&pid=16;image=SITEMENU/dinner.gif;");
aI("text=;url=/modules.php?name=Content&pa=showpage&pid=17;image=SITEMENU/dessert.gif;");
aI("text=;url=/modules.php?name=Content&pa=showpage&pid=18;image=SITEMENU/specialoccasion.gif;");
aI("text=;url=/modules.php?name=Content&pa=showpage&pid=19;image=SITEMENU/corporate.gif;");
aI("text=;url=/modules.php?name=Content&pa=showpage&pid=20;image=SITEMENU/holidayluncheon.gif;");
aI("text=;url=/modules.php?name=Content&pa=showpage&pid=21;image=SITEMENU/childrens.gif;");
}
drawMenus();
Poster: John
Dated: Thursday November 13 2003 - 2:39:09 GMT
Maybe I'm missing something, but under Safari and IE I don't see anything strange happening. Moving from page to page I can find no indication of invisible links.
weird...
Poster: jshope
Dated: Thursday November 13 2003 - 3:16:05 GMT
when you first open the page, don't go to the menu buttons first that are on the left. Come straight down onto the figure that is there. I've checked this on another pc in the house and another pc that I had remote access to the desktop. Both of them showed the same thing happening...
Poster: jshope
Dated: Thursday November 13 2003 - 4:44:41 GMT
whewww... worked it out for what it is worth. I'm not sure why this caused those invisible links to be accessible from where the submenu WOULD open (but was not!) I took out the "left=202;" down below and just used the offset at the top of the file "_subOffsetLeft=10" to get what I needed.... I thought you could use the "left" positioning function in a submenu... guess not... Feel free to email me if anyone has questions...
with(milonic=new menuname("Menus")){
style=menuStyle2;
top=160;
left=202;
alwaysvisible=0;
followscroll="0";
aI("text=;url=/modules.php?name=Content&pa=showpage&pid=15;image=SITEMENU/lunch.gif;");
aI("text=;url=/modules.php?name=Content&pa=showpage&pid=16;image=SITEMENU/dinner.gif;");
aI("text=;url=/modules.php?name=Content&pa=showpage&pid=17;image=SITEMENU/dessert.gif;");
aI("text=;url=/modules.php?name=Content&pa=showpage&pid=18;image=SITEMENU/specialoccasion.gif;");
aI("text=;url=/modules.php?name=Content&pa=showpage&pid=19;image=SITEMENU/corporate.gif;");
aI("text=;url=/modules.php?name=Content&pa=showpage&pid=20;image=SITEMENU/holidayluncheon.gif;");
aI("text=;url=/modules.php?name=Content&pa=showpage&pid=21;image=SITEMENU/childrens.gif;");
}