Re: Context menu and main menu
2004/11/22 09:37
Viewed 8712 times
Replies: 1/8

Well, this works without any problems. For instance, the index.html page in the package sets up both: you have the main menu bar, and a context menu that opens when the document is right clicked.

Re[2]: Context menu and main menu
2004/11/22 10:07
Viewed 10835 times
Replies: 1/7

Yes but in that example the Preferences menu at the top gets highlighted when I mouse over an item in the context menu. It seems more like a tear off menu from the top than it's own independant menu. The context menu I want will have no link to a menu in the top. Maybe I could hide a top menu for it and use the tear away technique that appears to be used in that example? Is there no better way? Thanks.

last
Re[3]: Context menu and main menu
2004/11/22 10:20
Viewed 13051 times
Replies: 1/6

No; in this case you should better just define 2 different menus and call DynarchMenu.setup for each of them; for the one defining context menu(s), you'll pass { context: true } as the second parameter. See "examples/context.html" and "examples/context2.html" for a quick example.

last
Google