Strange Behavior

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
mqcarpenter
Advanced
Advanced
Posts: 16
Joined: Tue May 04, 2004 5:44 pm
Contact:

Strange Behavior

Post by mqcarpenter »

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: Select all

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();

Any ideas why this is happening?
mqcarpenter
Advanced
Advanced
Posts: 16
Joined: Tue May 04, 2004 5:44 pm
Contact:

Post by mqcarpenter »

Well now it is working! Never mind!
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

You already have the menu in a table -

Code: Select all

with(milonic=new menuname("Main Menu")){
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
Post Reply