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: Thursday February 8 2018 - 06:02:44

dynamic menus


Poster: saladpuncher
Dated: Monday March 4 2002 - 22:29:51 GMT

Is it possible to change the menu once it's created? I'm talking about making a button that once pressed will add a new menu to the menu object. I can already change it's color and effects but I can't seem to add new menu items.

Re: dynamic menus


Poster: Andy
Dated: Monday February 25 2002 - 15:57:26 GMT

You could write a function that would write out to the array file, perl would be good for this. But of course that's a permanent addition unless something else parses it back out. If you want an addition on a per user basis the best thing would be to load in another partial array when you click on the button. This should be doable but I admit I've never tried it. Multiple array files can be read in, it's just a matter of causing the read to occur after page load and not have anything odd happen. Andy might be able to offer some more on this if he gets the chance.
Cheers!
Yadin

Re: dynamic menus


Poster: jmalatia __at__ hotmail.com
Dated: Monday February 25 2002 - 16:22:05 GMT

I do it with a database, but its a ColdFusion application. Still, the principles are fairly straightforward and if you're using something like PHP you could port over the menu building routine without too much difficulty, I suspect.

Its a free tool. You can find it at

http://devex.macromedia.com/developer/g ... 508B94F380