Reputation: 961
Is there a class specification in Bootswatch that displays a dropdown's menu items on hover rather than having the user click the menu? Thanks in advance.
Upvotes: 0
Views: 653
Reputation: 694
use below mentioned code using jquery for hover functionality.
Please refer this JS Fiddle
<script type='text/javascript'>
$(document).ready(function () {
$(".dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
</script>
Regards D.
Upvotes: 2