jQuery UI Widgets › Forums › Navigation › Menu, Context Menu › Open direction
Tagged: JavaScript Menu, javascript plugin, jQuery Menu, Menu plugin, menu widget
This topic contains 1 reply, has 2 voices, and was last updated by support 12 years ago.
I have 2 menus items that I want to open left and down. But only the first one is working. Even though the code is the same. Any ideas?
Here is my call:
$(document).ready(function () { // Create a jqxMenu $(“#jqxMenu”).jqxMenu({ width: ‘960’, height: ’30px’, autoOpen: true, autoCloseOnMouseLeave: true, showTopLevelArrows: false, theme: ‘darkblue’ }); // Set up the open directions. $(“#jqxMenu”).jqxMenu(‘setItemOpenDirection’, ‘Resources’, ‘left’, ‘down’); $(“#jqxMenu”).jqxMenu(‘setItemOpenDirection’, ‘ManagerCenter’, ‘left’, ‘down’); });
Hi mmorgan,
We have debugged the reported issue and we confirm it. It is related to the showTopLevelArrows option of the jqxMenu.
Demo: jquery-menu-open-direction.htm
Download Project: jquery-menu-open-direction.zip
Best Regards, Peter Stoev
jQWidgets Team http://www.jqwidgets.com
You must be logged in to reply to this topic.