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:09

Is it possible to make the menu disapear?


Poster: darkcircuituk
Dated: Monday September 20 2004 - 13:58:38 BST

Is it possible to make the right click context menu disapear when you either left click on a menu option or you left click off the menu? If so, could you please let me know how?

Thanks

Dave

Let me amend that


Poster: darkcircuituk
Dated: Tuesday September 21 2004 - 16:20:52 BST

I did a search on your forum for the keywords close on click and I found an answer to part of my question, so let me rephrase my question.

I wish for the right click context menu to close when a user clicks on one of the menu options. Is this possible?

Thanks

Dave

Follow up


Poster: darkcircuituk
Dated: Monday September 27 2004 - 9:32:52 BST

Me again, if its not possible to do the above, could you tell me plz

Dave

Re: Let me amend that


Poster: kevin3442
Dated: Tuesday September 28 2004 - 0:45:12 BST

Hi Dave,
darkcircuituk wrote:
...I wish for the right click context menu to close when a user clicks on one of the menu options. Is this possible?

Try adding clickfunction=closeAllMenus(); to the aI() string of each item. Like so:
Code:
aI("text=Whatever;url=whatever;clickfunction=closeAllMenus();");

That should cause all currently opened Milonic Menus on that page to close when the item is clicked; menus that have alwaysvisible=1; -- like main menus -- are exempt (they won't close).

If that doesn't work, we can try a more direct approach.

Cheers,

Kevin


Poster: darkcircuituk
Dated: Monday October 4 2004 - 10:20:33 BST

Yet again guys, thats great,