Skip to content

Simple jQuery plugin to simplify toggling an element between fixed and absolute positioning based on window scroll

Notifications You must be signed in to change notification settings

cheald/floatingFixed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

This is a quick little jQuery plugin to provide "sticky rail" functionality. Call $.floatingFixed() on an element that is position: absolute, and when the element would scroll off the screen, it will instead be "stuck" on the screen, and will return to its original position when you scroll it back into view. See example.html for more details.

About

Simple jQuery plugin to simplify toggling an element between fixed and absolute positioning based on window scroll

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published