PDA

View Full Version : jQuery Multi Level CSS Menu #2 and jQuery 1.4



Lee.K
04-12-2010, 11:02 PM
jQuery Multi Level CSS Menu #2

http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_2/

Problem running under jquery 1.4.2

When clicking on a menu item in the dropdown menu which takes you to another page, under jquery 1.3x if you use the browser's back button, you return to the previous page and the menu is closed as it should be.

Under jquery 1.4x, after clicking on an item in the dropdown menu taking you to another page, when you use the browser's back button, you return to the previous page with the menu in the dropdown open position instead of closed.

This is keeping me from upgrading to the new jquery. Any ideas?

ddadmin
04-13-2010, 03:40 AM
Hmm not sure why in jQuery 1.4x it doesn't collapse the menus when the page is returned to. A simple fix for now is just to explicitly close a sub menu whenever it's clicked on. Please redownload the .js file on the script page, which adds this behavior in.