Please is it possible to add and/or delete menu items when a user registers onto a website and if so how?
Thank You
Peter Sparkes
Dynamically modify menu
Hi,
Yes, it is possible to add edit and delete menu items after the menu has been built.
Please grab a copy of http://milonic.com/mm_menueditapi.js - add a <SCRIPT> reference to it after your menu_data.js reference and use the mm_deleteItem, mm_insertItem or mm_editItem as required.
There is a syntax list inside the file.
hope this helps,
Andy
Yes, it is possible to add edit and delete menu items after the menu has been built.
Please grab a copy of http://milonic.com/mm_menueditapi.js - add a <SCRIPT> reference to it after your menu_data.js reference and use the mm_deleteItem, mm_insertItem or mm_editItem as required.
There is a syntax list inside the file.
hope this helps,
Andy
-
- Beginner
- Posts: 5
- Joined: Tue Dec 06, 2005 8:31 pm
Dynamically modify menu
Hi Andy,
Thank you, works great
Peter
Thank you, works great
Peter
