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: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:43

Stack overflow error in mmenu.js


Poster: dsutton __at__ dgs.net
Dated: Tuesday April 2 2002 - 17:21:01 BST

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

Sorted the stack problem out.


Poster: Andy
Dated: Thursday May 2 2002 - 21:49:07 BST

There were double mmenu.js lines in the HTML