How do I add exceptions to the document?
For example within DIV(.rtmenu) I want to exclude links with the class (a.menu-arrow). So if I click/mousedown on (a.menu-arrow)…the DIV(.rtmenu) doesn’t fadeOut?
$('.rtmenu').live('click', function(e) { e.stopImmediatePropagation(); });
$(document).mousedown(function() { $('.rtmenu').fadeOut(200); });
Any help is greatly appreciated. Thanks
You can add a stop propgation to the menu links as well, like this: