Skip to content

how to keep the container fixed? #84

Open
@dcalixto

Description

@dcalixto

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();
        }
    });
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions