Skip to content

cdoebler/fixedNav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fixedNav

A jQuery plugin that fixates a horizontal navigation element as soon as it hits the top by scrolling

2012 by Christian Doebler

Examples

$(".navigation").fixedNav();
$(".navigation")
    .fixedNav()
    .bind("relative", function() {
        console.log("relative");
    })
    .bind("fixed", function() {
        console.log("fixed");
    });

Events

relative : fired, when css position is set to relative (navigation moves on scrolling)
fixed    : fired, when css position is set to fixed (navigation fixated)

About

A jQuery plugin that fixates a horizontal navigation element as soon as it hits the top by scrolling.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published