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.
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.
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.