Dynamically modify menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
peter@didm.co.uk
Beginner
Beginner
Posts: 5
Joined: Tue Dec 06, 2005 8:31 pm

Dynamically modify menu

Post by peter@didm.co.uk »

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
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

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
peter@didm.co.uk
Beginner
Beginner
Posts: 5
Joined: Tue Dec 06, 2005 8:31 pm

Dynamically modify menu

Post by peter@didm.co.uk »

Hi Andy,

Thank you, works great

Peter :P
Post Reply