…ly works now. Horizontal position gets screwed up on resize while the element is floated though.
|Failed to load latest commit information.|
|example.html||Update example, less verbose option reversion, save left as well as top|
|jquery.floatingFixed.js||I'm nto sure what I was thinking when I first wrote this, but it most…|
|readme.txt||Update example, less verbose option reversion, save left as well as top|
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.