Skip to content

jQuery plugin for verticaly floating anything in a constrained area

Notifications You must be signed in to change notification settings

mugoyal/stickyfloat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

stickyfloat – jQuery plugin for verticaly floating anything in a constrained area

Example

jQuery('#menu').stickyfloat({duration: 400});

parameters:
duration – the duration of the animation
startOffset – the amount of scroll offset after it the animations kicks in
offsetY – the offset from the top when the object is animated
lockBottom – ‘true’ by default, set to false if you don’t want your floating box to stop at parent’s bottom
paused – ‘false’ by default. pauses the scrolling

Version History

Version 2.0.0

  • First version as a github repo
  • Converted to newer jQuery plugin format with a little help from http://starter.pixelgraphics.us/
  • Added ability to pause and restart the floating

Version 1.0.0

Matte Edens – matte@silent-e.com
https://github.com/silent-e/stickyfloat

Attributions

Based on the original version and mods

Original 05.16.2009 r1
Copyright © 2009 Yair Even-Or
vsync.design@gmail.com

Mods by: Christopher Haupt, Webvanta Inc.
http://www.webvanta.com/, http://twitter.com/chaupt, http://github.com/chaupt
Honor options set by user.
https://gist.github.com/728487

About

jQuery plugin for verticaly floating anything in a constrained area

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published