$(document).bind('click', function(e) { var $clicked = $(e.target); if (! $clicked.parents().hasClass("staticMenu")){ $(".staticMenu dd ul").hide(); $(".staticMenu dt a").removeClass("selected"); } });
No comments:
Post a Comment