garand / sticky

jQuery Plugin for Sticky Objects
Other
3.3k stars 1.06k forks source link

Feature for dynamic spacing #202

Open danielgindi opened 8 years ago

danielgindi commented 8 years ago

This feature allows the topSpacing and bottomSpacing to be set to functions.

It makes it possible to adjust for cases where topSpacing is another element which changed it's size in response to the window size.