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

loading array in memory?

Poster: el_kiwi __at__
Dated: Friday March 1 2002 - 0:13:17 GMT

Hi guys,

don't really know what I'm talking about menu array is huge and when the page loads it takes about 10 seconds to load (much longer in nestscape and mac ie5) this is ok for the first time you arrive at the page but when you hit "back" to return to it, it takes the same time to load again. As the page is a main navigation page it's a bit slow.

Is there any way to load the array into the browser's memory so it doesn't have to read the array every time?

BTW the example I have made is extreme I know but it's WORKING !!!! YEEHAAAA


Re: loading array in memory?

Poster: bobwill __at__
Dated: Monday March 11 2002 - 14:42:54 GMT

I was having a similar thought with the frames version.

Due to a couple bugs which I have mentioned in a different section, is there any fundamental reason why you couldn't put the main proportion of the mmenu script into a frameset.

My unfounded opinion for the bugs with the frames version is the confusion which I would have thought would have been created when trying to use two copies of the mmenu.js code as one.

Once loaded of course, changes to the target frame wouldn't result in a reload and the other reason why this would be so good is that it would mean that I wouldn't have to copy the sub items code into every page that might occur in the target frame. Although my site doesn't do this, other people may load up other web sites into their target frame and then their menu system will break.



Re: loading array in memory?

Poster: lefou __at__
Dated: Monday March 11 2002 - 17:53:27 GMT

The code I use now is hiermenus3, which does exactly what you describe. Everything is loaded in the top (navigation) frame, and it doesn't matter what you load into the main frame, it works. Andy, if you're watching, take a look at hiermenus3! (When hiermenus was still good and free).