Right click menu with no other menus on page

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
jonathan
Advanced
Advanced
Posts: 26
Joined: Wed Jul 02, 2003 1:13 pm
Location: UK

Right click menu with no other menus on page

Post by jonathan »

I know this feature is not officially supported, but thought I would report a possible problem in that the right-click context menu only appears to work if you have at least one other menu on the page set to 'alwaysvisible=1'. In other words, you can't have only a context menu without any other menus.
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

By context menu you are referring to the context menu developed by Milonic right that is used on its homepage?

If so, are you remembering to include the milonic_src and mmenudom and mmenuns4 files?
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
User avatar
jonathan
Advanced
Advanced
Posts: 26
Joined: Wed Jul 02, 2003 1:13 pm
Location: UK

Post by jonathan »

Yep. All the relevant sources etc. are in place. If I add a completely different menu that is visible, it all works fine. As soon as I take that away, the context menu doesn't work. In fact, I get no right click menu at all...including the default one.

This is all done using IE6.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

If you grab a copy of http://milonic.com/contextmenu.js the new update should fix your problem.

Cheers
Andy
User avatar
jonathan
Advanced
Advanced
Posts: 26
Joined: Wed Jul 02, 2003 1:13 pm
Location: UK

Post by jonathan »

Just to say thanks very much for both the fix and the speed at which it was posted. I can confirm that the fix does indeed solve the problem.
Post Reply