Skip to content

davee8k/js-anchor-menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

js-anchor-menu - simple jQuery anchor menu

Description

Adds scrolling to menu anchors and adds/removes the active class to clicked menu items.

Browser support

Internet Explorer 8 and (almost) anything newer ;)

Options

Name Type Default Description
activeClass string active class of currently active item in menu
easing string swing transition animation from jquery
parent string li elements in menu containing links
onStart boolean true select active item in menu based on current hash
speed int 1 speed of transition, lover is faster
padding int/string 0 number or element
include string[] [] additional elements where to activate anchors

Usage

$("#target").anchorMenu({});

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published