Results 1 to 4 of 4

Thread: Smooth Navigational Menu (v2.1)

  1. #1
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,069
    Thanks
    44
    Thanked 3,216 Times in 3,178 Posts
    Blog Entries
    12

    Default Smooth Navigational Menu (v2.1)

    Update to - Smooth Navigational Menu (v2.0) - This recently updated script will break if used with jQuery 1.10+, or jQuery 2+, both of which were just recently released. Here's the updated script:

    ddsmoothmenu.js

    It also includes one new feature - When menus are repositioned due to being too close the the browser's right edge, they are given a class name of "repositioned". When they return to their normal position, this class name is removed.

    Both these changes (repositioning, forward compatibility with jQuery 1.10+) are documented in the script file and need not be reflected on the demo page. But the version number should be bumped up to 2.1 in the page's main header.
    Last edited by jscheuer1; 05-30-2013 at 07:44 AM. Reason: update update
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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

    Default

    Cool, thanks John for the modifications, I'll get to updating the script very shortly. Just wondering, what are the new changes in the new versions of jQuery that cause incompatibility with the current version of DD Smooth Menu? I haven't had a chance to delve into all the changes yet.
    DD Admin

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,069
    Thanks
    44
    Thanked 3,216 Times in 3,178 Posts
    Blog Entries
    12

    Default

    It's a little complicated. The actual change was in jQuery version 1.9, and was already patched and automatically applied in Smooth Menu for any jQuery mathematically greater than 1.8.x. But using only math, version 1.10 is less than version 1.8, so this update to Smooth Menu simply uses a means test in applying the already existing patch, which is for reinstating the discontinued click toggle function. This has the added benefit of detecting any other patch (like jQuery Migrate) already applied that might take care of this. If the capability is already there, this patch is skipped.

    For more info on its removal from jQuery, check: http://jquery.com/upgrade-guide/1.9/...nction-removed
    Last edited by jscheuer1; 05-30-2013 at 07:49 AM. Reason: updated the update
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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

    Default

    Sorry for the delay John, just updated the script to v2.1. I'll probably be looking at making the menu more responsive for mobile screens next.
    DD Admin

Similar Threads

  1. Help: Smooth Navigational Menu (v1.5)
    By Li-Ann in forum Looking for such a script or service
    Replies: 0
    Last Post: 01-30-2012, 01:32 PM
  2. Resolved Smooth Navigational Menu
    By waynef in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 11-09-2010, 03:16 PM
  3. Smooth Navigational Menu
    By thundercode in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 09-18-2009, 09:03 PM
  4. Smooth Navigational Menu (v1.02)
    By browndog23 in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 04-18-2009, 07:24 AM
  5. Smooth Navigational Menu (v1.02) help
    By lhunter322 in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 04-08-2009, 08:35 AM

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
  •