Results 1 to 3 of 3

Thread: Responsive Hybrid Menu - want mobile menu to collapse after selection made

  1. #1
    Join Date
    Sep 2007
    Posts
    22
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Responsive Hybrid Menu - want mobile menu to collapse after selection made

    Script: Responsive Hybrid Menu
    http://www.dynamicdrive.com/dynamici...enu/index.html

    My question concerns the mobile menu and what happens after the mobile menu is expanded on the left side by clicking on the mobile menu icon.

    The script at this point, seems to require the user to again click on the mobile menu icon in order to collapse the opened mobile menu.

    I would prefer to have the mobile menu automatically collapse after a selection is made of an anchor leading to a document destination. Of course I don't want it to collapse when the selection is opening up a sub-menu.

    Is there any way to achieve this outcome?

    Also I changed the css #mobile-menu position from "absolute" to "fixed" since I prefer to have the mobile menu to become visible on the screen when activated even if the page is long and scrolled to the bottom. Hopefully that will not cause any issue with the various browsers?

  2. #2
    Join Date
    Aug 2004
    Posts
    10,138
    Thanks
    3
    Thanked 1,007 Times in 992 Posts
    Blog Entries
    16

    Default

    Try the below modified hybridmenu.js, which should collapse a link within the mobile menu when clicked on.
    Attached Files Attached Files
    DD Admin

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

    ngors (09-07-2017)

  4. #3
    Join Date
    Sep 2007
    Posts
    22
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    that's perfect. Thank you so much!

Similar Threads

  1. Responsive Hybrid Menu changes
    By hp98173 in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 08-02-2017, 10:19 PM
  2. Problems with Hybrid Menu
    By BorderTerroir in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 03-28-2014, 06:52 AM
  3. Wordpress Responsive Theme + Mobile App
    By bbilal in forum General Paid Work Requests
    Replies: 1
    Last Post: 09-11-2013, 12:43 PM
  4. Replies: 0
    Last Post: 06-01-2009, 12:10 PM
  5. Hybrid CSS / Javascript multi-level menu
    By bkatzung in forum Submit a DHTML or CSS code
    Replies: 4
    Last Post: 04-29-2009, 03:11 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
  •