Skip to content

Added ignore and initial select options #79

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PocketNinjaDesign
Copy link

On using the plugin I realised I needed to do a few more settings based on the content we had on our site. Our dropdown menus were mostly clean classless li's with a couple that were styled different and had nothing to do with the menu but were just done that way.

Also when selecting an inital option outside of jquery-menu-aim, it seemed that the item would remain active until you hovered over it to then close it. Triggering the initial index seemed to be a quick option.

$menu.menuAim({
    activate: menuAimItemActive,
    deactivate: menuAimItemDeactivate,
    rowIgnoreSelector: '[data-tab-ignore]',
    initialActivate: 2
});

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

Successfully merging this pull request may close these issues.

1 participant