Last active
October 16, 2018 16:39
-
-
Save CreativeSeo33/1687ea3f8523289ef1cc to your computer and use it in GitHub Desktop.
Выпадающее меню Bootstrap при наведении
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
@media only screen and (min-width : 768px) { | |
/* Make Navigation Toggle on Desktop Hover */ | |
.dropdown:hover .dropdown-menu { | |
display: block; | |
} | |
} |
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
$('.dropdown-toggle').click(function() { | |
var location = $(this).attr('href'); | |
window.location.href = location; | |
return false; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://www.creative-seo.ru/