Reply To: Prevent Pop-Up Menu from Immediately Hidding

Home Forums Older releases 1.0.x Prevent Pop-Up Menu from Immediately Hidding Reply To: Prevent Pop-Up Menu from Immediately Hidding

#3026
admin
Keymaster

You will need to stop the propagation of the click event for the target element that you use as a trigger for the popup – e.g. if you have a link like this:

<a href="#" id="show-main-menu">Show popup</a>

you would need to use something like this:

$('#show-main-menu').click(function(e) {
	toggledisplay();
	e.stopPropagation();
	e.preventDefault();
});

Register

You will be emailed a link to set your password.

Login

Lost password?