how to keep the container fixed?
Author: dcalixtoCreated Jun 10, 2017Updated Jun 10, 2017
I would like to know how to keep the container fixed below the menu when hover like:
How how to keep the menu below fixed?
I've tried this
$(document).ready(function() {
$("#main-nav").menuAim({
rowSelector: "li.parentnav",
submenuDirection: "below",
tolerance: 0,
exitMenu: function(){return true;},
activate: function(a){
$(a).children('.subnav').show();
},
deactivate: function(a){
$(a).children('.subnav').hide();
}
});
});Source: kamens/jQuery-menu-aim