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.
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.