PDA

View Full Version : hamburger icon menu



liquid_shane_o
07-06-2016, 07:50 PM
Regarding your dropdown sliding panel found here:

http://www.dynamicdrive.com/dynamicindex1/hamburger-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?

ddadmin
07-06-2016, 10:35 PM
Sure, simply find the below block of code inside the .js file and remove it:


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

liquid_shane_o
07-10-2016, 09:53 PM
awesome thank you :)