garand / sticky

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

.widthFromWrapper option added and other improvements #148

Closed duzun closed 9 years ago

duzun commented 9 years ago

I made some improvements to stiky so that it could work in some of my projects. I didn't change any of the old functionality.

The new option .widthFromWrapper enables me to handle width of the wrapper with pure CSS and sticky just adjusts it's width accordingly, without any extra coding.

garand commented 9 years ago

Awesome! Could you update the README to reflect these changes?

duzun commented 9 years ago

Sure, working on that.

duzun commented 9 years ago

README updated.