| Re[5]: Context menu and main menu ¶ | |
| 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. | |
| Re[6]: Context menu and main menu ¶ | |
| So I have to call 2 DynarchMenu.setups in the onload event in order to get both menus working, is that what you're saying? | |
| last |
| Re[7]: Context menu and main menu ¶ | |
| Yes. To give you an example: <script type="text/javascript"> Note that I added style="display: none" to the context menu UL to prevent it from displaying during the short period between the momen when page started loaded and the moment onload is called. You can use this technique for the first UL too, but it might be not desirable because the UL should stay visible for browsers where JS is disabled or don't support DynarchMenu. I hope this helps. | |
| last |
(*) Discounts available for the above products!













