Infinite JS loop freezes page

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
kschenke
Beginner
Beginner
Posts: 1
Joined: Thu May 06, 2004 10:08 pm

Infinite JS loop freezes page

Post by kschenke »

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 :?:
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

The URL you posted is invalid. Got something we can work with?
John
gardel
Beginner
Beginner
Posts: 6
Joined: Mon May 24, 2004 2:47 pm

Post by gardel »

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 .
Post Reply