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
dynamic menus
-
- Beginner
- Posts: 1
- Joined: Sun May 19, 2002 7:24 pm
Re: dynamic menus
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
Its a free tool. You can find it at
http://devex.macromedia.com/developer/g ... 508B94F380
-
- Beginner
- Posts: 8
- Joined: Sun May 19, 2002 8:23 pm
dynamic menus
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.