Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to keep the container fixed? #84

Open
dcalixto opened this issue Jun 10, 2017 · 0 comments
Open

how to keep the container fixed? #84

dcalixto opened this issue Jun 10, 2017 · 0 comments

Comments

@dcalixto
Copy link

I would like to know how to keep the container fixed below the menu when hover like:

www.iherb.com

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();
        }
    });
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant