Glench/jquery.floatScroll — Issue #5: Add bounding box option
Author: Glench
Created: 2012-02-24 19:16:09+00:00
State: open

Add an option to the constructor called boundingBox that takes another jquery element. If the floatScrolled element goes outside of the bounding box, stop floatScrolling. This is a good way to use this effect multiple times on one page. However, if the bounding box element is the whole document, limit its bounding box on the top to the of the floatScroll element or else floatScroll will be useless :)