Created
November 30, 2012 14:52
-
-
Save razbakov/4176216 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
index.html: before </BODY> | |
jQuery(function(){ | |
$('.nav li').mouseover(function() { | |
$(this).addClass('hover'); | |
}); | |
$('.nav li').mouseout(function (e) { | |
// Do not close if going over to a select element | |
if (e.target.tagName.toLowerCase() == 'select') return; | |
$(this).removeClass('hover'); | |
}); | |
}) | |
main.css:195 | |
.nav li.hover .drop {display:block;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment