Results 1 to 2 of 2

Thread: jQuery Multi Level CSS Menu #2 and jQuery 1.4

  1. #1
    Join Date
    Apr 2010
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default jQuery Multi Level CSS Menu #2 and jQuery 1.4

    jQuery Multi Level CSS Menu #2

    http://www.dynamicdrive.com/style/cs...el_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?

  2. #2
    Join Date
    Aug 2004
    Posts
    9,903
    Thanks
    3
    Thanked 967 Times in 955 Posts
    Blog Entries
    15

    Default

    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.
    DD Admin

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    Lee.K (04-13-2010)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •