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: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:15

Modifying Hyperlinks Based On Menu Location


Poster: Chris K
Dated: Friday August 13 2004 - 23:03:43 BST

I have a page with a set of images which the user can right click and be presented with a set of options (for example, edit and delete). I need to be able to modify the URL that is in the href attribute of each menu hyperlink to correspond the primary key in my database that the image belongs to.

If you have any questions, post them and I'll be glad to clarify.


Poster: kevin3442
Dated: Saturday August 14 2004 - 0:48:35 BST

Hi Chris,

I wrote a js function a while back that let's you dynamically change any property of any menu item. Sounds like it might help you out. It's called mm_changeItemProperty(), and there's a description of how it works here. Should still work the same way.

Hope that helps,

Kevin