Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:29

Infinite JS loop freezes page


Poster: kschenke
Dated: Thursday May 6 2004 - 22:15:18 BST

My problem is:
The menu I made works fine when I am on the URL

:D http://testserver/en/

but it crashes when I go to

:evil: http://testserver/en/index.php

even when both are the same pages :!: . How I go there is not important (menu click or URL entering).

The JavaScript is in a long infinite loop and finally the Browser gives a JavaScript timeout (e.g. after 1 minute). The browser asks for stopping JavaScript on this page. After a 'yes' the page appears. The menu is displayed well afterwards and works.

This happens with Explorer 5.50 and Firefox 0.8 (only Explorer 5.50 gives the timeout, Firefox consumes permanent more memory and need to be terminated). When I switch off Javascript the page is shown without menu (of course).

Does anyone has a smart idea what I can do here :?:


Poster: John
Dated: Thursday May 6 2004 - 22:17:34 BST

The URL you posted is invalid. Got something we can work with?


Poster: gardel
Dated: Monday May 24 2004 - 21:07:31 BST

I had a similar problem . it turned out that one of my menu item's name was set to the empty string [""] . Check that out if you are still having a problem .

george .