DHTML Menu Version 5.19 Infinite Javascript Loop ??

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
gardel
Beginner
Beginner
Posts: 6
Joined: Mon May 24, 2004 2:47 pm

DHTML Menu Version 5.19 Infinite Javascript Loop ??

Post by gardel »

Hello ,

I recently purchased the DHTML Menu and have been playing around with it a bit to do what i need . What i have set up right now is a top level menu with one level of sub-menus . The top level menu is defined in a table for relative positioning . The problem i am having is any sub-menu link i click on makes both FireFox 0.8 and IE 6 go into infinite loops . This even happens if i manually type the URL i want to retrieve in the address bar instead of clicking the sub-menu item .

Has any one had this problem , and if so how do i get around it ?


thanks ,

george .
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

You've got someting amiss in there. v5.19 is extremely stable, and I'm sure it's not your problem.

Please post, as requested, a URL so we can take a look.
John
gardel
Beginner
Beginner
Posts: 6
Joined: Mon May 24, 2004 2:47 pm

Post by gardel »

Thanks for the quick response .
I afraid the site i am developing is not available outside the companies intranet so i cant post any link . Is there any other information i can give that would help in the diagnosis of this problem ?
The one thing i was thinking could be a problem is the placement of the with() calls . I am not using a menu_data.js file for configuration as the menu is dynamically built so it is in the head of the html document . However , i am experimenting with placing the data in other locations like after the <body> and <html> tags . So far no success .
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Send us a copy of your data file and we'll take a look at it.

As John says the menu is very stable so could be something else but of course I can't rule anything out until I've seen it.

Cheers
Andy
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

You can post your _data file and HTML here. Make sure you use the [code][/code] tags.
John
gardel
Beginner
Beginner
Posts: 6
Joined: Mon May 24, 2004 2:47 pm

Post by gardel »

ok .. i finally figured out what the problem was incase anyone else runs into it .
Basically my top level menu had a name of the empty string [""] ! hehe . i assume there was a check for the name and it was never finding the menu by the name "" or something , therefore going into an infinite loop . This happened because i was dynamically populating the menus from a database and the name field was empty .

The lesson here .: dont ever name your menu items with the empty string .

george .,

Thanks for everyone's time who tried to help me out , i do appreciate it .
Post Reply