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:26
Strange Behavior
Poster: mqcarpenter
Dated: Tuesday November 8 2005 - 23:09:46 GMT
When I make my link references to a specific file, (i.e. /tom/waits.php) versus the folder itself (i.e. /tom/) the menu completely disappears! You can see that it is missing here:
http://www.gatabasketball.com
Here is my menu_data content:
Code:
fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;
with(menuStyle=new mm_style()){
onbgcolor="#000000";
oncolor="#FFFFFF";
offbgcolor="#005EAD";
offcolor="#FFFFFF";
bordercolor="#005EAD";
borderstyle="solid";
borderwidth=0;
separatorcolor="#000000";
separatorsize="0";
padding="5";
fontsize="12px";
fontstyle="bold";
fontfamily="Arial";
pagecolor="black";
pagebgcolor="#005EAD";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="";
subimagepadding=0;
}
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=0;
orientation="horizontal";
style=menuStyle;
top=0;
}
with(milonic=new menuname("Sponsor")){
style=menuStyle;
itemheight=20;
aI("text=Fundraisers;url=/sponsors;");
aI("text=Sponsorship;url=/sponsors/spons01.php;");
aI("text=Donations;url=/sponsors/donate01.php;");
aI("image=/images/menu_drop01.jpg;type=header;");
}
drawMenus();
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;
with(menuStyle=new mm_style()){
onbgcolor="#000000";
oncolor="#FFFFFF";
offbgcolor="#005EAD";
offcolor="#FFFFFF";
bordercolor="#005EAD";
borderstyle="solid";
borderwidth=0;
separatorcolor="#000000";
separatorsize="0";
padding="5";
fontsize="12px";
fontstyle="bold";
fontfamily="Arial";
pagecolor="black";
pagebgcolor="#005EAD";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="";
subimagepadding=0;
}
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=0;
orientation="horizontal";
style=menuStyle;
top=0;
}
with(milonic=new menuname("Sponsor")){
style=menuStyle;
itemheight=20;
aI("text=Fundraisers;url=/sponsors;");
aI("text=Sponsorship;url=/sponsors/spons01.php;");
aI("text=Donations;url=/sponsors/donate01.php;");
aI("image=/images/menu_drop01.jpg;type=header;");
}
drawMenus();
Any ideas why this is happening?
Poster: mqcarpenter
Dated: Tuesday November 8 2005 - 23:10:26 GMT
Well now it is working! Never mind!
Poster: Ruth
Dated: Wednesday November 9 2005 - 15:09:45 GMT
Hi,
You already have the menu in a table -
Code:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
overfilter="";
position="relative";
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
overfilter="";
position="relative";
But you left part of that in the menu_data.js file. You need to remove that.
Nice site.
Ruth