Results 1 to 3 of 3

Thread: hamburger icon menu

  1. #1
    Join Date
    Jul 2016
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default hamburger icon menu

    Regarding your dropdown sliding panel found here:

    http://www.dynamicdrive.com/dynamici...-icon-menu.htm

    It seems to slide back up even if I don't click the icon. If I click in the background of the panel, it automatically goes back up. So I'm having a hard time putting dropdown select menus inside the panel, because anytime I click inside a select menu or a text field from a form, the panel slides back up right away.

    My question is, how do I make it so that the panel slides back up ONLY when the user clicks on the close 'X' button?

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Sure, simply find the below block of code inside the .js file and remove it:

    Code:
    		$fullscreenmenu.on('click', function(e){
    			clearTimeout(dismisstimer)
    			dismisstimer = setTimeout(function(){
    				$menuwrapper.removeClass('open')				
    			}, settings.dismissmenuDelay)
    		})
    DD Admin

  3. #3
    Join Date
    Jul 2016
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    awesome thank you

Similar Threads

  1. Need help to change icon to image background - DD Icon Menu
    By john7911 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 02-08-2016, 08:05 PM
  2. all levels menu - add MENU next to animated drawer icon
    By marymcc in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 06-11-2015, 01:09 AM
  3. DD Icon Menu
    By arkgroup in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 12-19-2014, 01:54 PM
  4. Chrome CSS Drop Down Menu Icon
    By Perdimia in forum Dynamic Drive scripts help
    Replies: 12
    Last Post: 08-27-2011, 12:45 AM
  5. Drop Down Menu with Icon Images
    By casterton in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 02-23-2009, 06:25 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
  •