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 .
DHTML Menu Version 5.19 Infinite Javascript Loop ??
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 .
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 .
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 .
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 .