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
Is it possible to make the menu disapear?
-
- Super Advanced
- Posts: 49
- Joined: Sat Aug 21, 2004 2:57 pm
-
- Super Advanced
- Posts: 49
- Joined: Sat Aug 21, 2004 2:57 pm
Let me amend that
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
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
-
- Super Advanced
- Posts: 49
- Joined: Sat Aug 21, 2004 2:57 pm
Follow up
Me again, if its not possible to do the above, could you tell me plz
Dave
Dave
Re: Let me amend that
Hi Dave,
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
Try adding clickfunction=closeAllMenus(); to the aI() string of each item. Like so: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?
Code: Select all
aI("text=Whatever;url=whatever;clickfunction=closeAllMenus();");
If that doesn't work, we can try a more direct approach.
Cheers,
Kevin
-
- Super Advanced
- Posts: 49
- Joined: Sat Aug 21, 2004 2:57 pm