Skip to content

A jquery plugin to make the navigation bar (or any element) fixed on the top when it is supposed to be scrolled out of the window.

Notifications You must be signed in to change notification settings

buildAll/fix-nav.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

A jquery plguin that fix sth on the top of the window when scroll.

Usage

$('.something-you-want-to-fixed').fixNav({
    maxWidth: $('body').width(),
    autoRollTop: true
});

WARNING

You can not set the height of body or html to 100% if you want to use the plugin.

About

A jquery plugin to make the navigation bar (or any element) fixed on the top when it is supposed to be scrolled out of the window.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published