-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Menu not resizing properly on Chrome or Firefox #199
Comments
Yes, the download version 1.3.3 will not work. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> Place a jquery.min.js inside folder /js/ and change line to <script src="js/jquery.min.js"></script> |
Thank you for the reply. I switched to a local copy of jQuery and get the same results on window resize: |
Follow up ... I'm guessing you directed me to use a local copy of jquery because all the menus were dropped down/expanded. The menus work and drop/slide up and down until you resize the window at which point everything gets confused. I'm not seeing any errors or warnings in Firefox's Console that would explain this. |
It's not by me. Don't know how to fix this. Maybe you will give this one a chance https://github.com/samikeijonen/responsive-nav.js It's a fork of arielsalminen/responsive-nav.js#178 |
hi had the same problem, solution that works for me below, note that I put another class to li element which have ul inside, This is only for convenience in creating my template $(window).resize(function() {
$('.sub-menu').hide();
}); |
I was having the same problem as well. Didn't matter what browser I was using. After resizing a few times and then hovering over a menu item the submenu would not close after moving the curser to another menu item. This results in many submenus being open at the same time. I found that the problem was in the resizer function itself. Specifically the following line:
needs to be changed to:
Here is the whole resizer function with the correction:
|
It looked like this menu had great potential. However, I've uncovered a huge issue that prevents its use until I can solve it. In my test page, or the menu's demo page, if you restore down on a Windows PC in either Firefox or Chrome the menus stay "dropped" / expanded down and the slide down feature performs erratically. Any idea why?
![flexnavproblem](https://cloud.githubusercontent.com/assets/7693060/9917798/72d918b2-5c78-11e5-8db7-382d4a91cb67.jpg)
The text was updated successfully, but these errors were encountered: