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.

Re[4]: Context menu and main menu
2004/11/22 10:24
Viewed 15315 times
Replies: 1/5

Hmm I tried that and got errors that DynarchMenu wasn't defined in hmenu.js when it tried to do the setup for the second menu. I'll look into it more.

last
Re[5]: Context menu and main menu
2004/11/22 10:32
Viewed 17551 times
Replies: 1/4

Just make sure to call DynarchMenu.setup at body onload event; trying to call it earlier might display the above error if for instance hmenu.js hasn't finished loading.

last
Google