Stack overflow error in mmenu.js

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
dsutton@dgs.net
Beginner
Beginner
Posts: 5
Joined: Sun May 19, 2002 7:24 pm

Stack overflow error in mmenu.js

Post by dsutton@dgs.net »

First of all, thanks to Andy and his crew for making this awesome menu available for free for all of us to use.

I have implemented the menu as a floating navigator on my web sites.

I have resolved the issue of giving credit to Andy and the crew by placing a small Milonic picture in every floating navigation bar, together with a link to the the Milonic web site.

Is this allowed?

In order to keep the number of js files down, I have used a main navbar.js, subsequently added to be other menu.js files as the viewer progresses down the web site.

However, I need to poke the submenu array into the navbar.js definition, and here perhaps an error crept in.

On the main entry pages I receive an error message in IE6, NS6 and Opera 6, which says: stack overflow at line 641, NS6 java console reveals this is in mmenu.js.
Check this page: http://www.olympic-eurogym.demon.nl/ukraine/index.htm
The error repeats itself on all pages on this level of the web site.

When you progress down the web site, the error disappears.
Check for instance: http: http://www.olympic-eurogym.demon.nl/ukraine/kva/kva.htm and explore from there. (Not all gymnasts' pages have been re-done yet)

What have I done wrong? I believe it could be the order of parent and chid menus?

In order to have the navbar pop into view after the page has been fully loaded it is defined off screen, and in the footer of the page, a poke of the 'screen position' element with 'centered' is sufficient to have the navbar pop up.
Still, this takes a while sometimes, and the advertisement on Lycos' free hosting service ruines the DHTML menu completely.

Any work arounds?

Sorry for the long post.

Edwin Koppers
Olympic EuroGym webmaster
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Sorted the stack problem out.

Post by Andy »

There were double mmenu.js lines in the HTML
Post Reply