This topic contains 3 replies, has 2 voices, and was last updated by Dimitar 10 years ago.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
jQuery UI Widgets › Forums › Navigation › Menu, Context Menu › Menu differs on iPad and Windows desktop
This topic contains 3 replies, has 2 voices, and was last updated by Dimitar 10 years ago.
Hi,
My menu appears minimized on an ipad1 & 3 in landscape mode (screen width 1024), even while minimizewidth is set to 550.
This is how menu is initialized:
$(“#jqxMenu”).jqxMenu({ width: _jqxRespose.viewPort.width, height: 32, minimizeWidth: 550, disabled: false });
I have tried with and without the following meta tage
<meta name=”viewport” content=”initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width”>
On a windows desktop PC the menu remains “normal” and wont go into minimized mode when the browser window is re-sized < 550
Any suggestion is welcome.
Rob
Hello Rob,
Here is an excerpt from the jqxMenu API Documentation about the minimizeWidth property which clarifies this behaviour:
Sets or gets the jqxMenu’s minimizeWidth. That width determines the minimum browser window’s width when the Menu will switch from normal to minimized mode and the Menu’s width is in percentages. Set it to null, if you want to disable that behavior. Note: jqxMenu automatically switches to minimized mode, when it is displayed on a touch device. By setting the property to null, you will disable that behavior, too.
Best Regards,
Dimitar
jQWidgets team
http://www.jqwidgets.com/
Thanks Dimitar,
Is the syntax for setting minimizeWidth to null as follow correct?
$(“#jqxMenu”).jqxMenu({ width: _jqxRespose.viewPort.width, height: 32, minimizeWidth: null, disabled: false });
Thanks, Rob
Hi Rob,
Yes, this is the correct way.
Best Regards,
Dimitar
jQWidgets team
http://www.jqwidgets.com/
You must be logged in to reply to this topic.