garand / sticky

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

Unable to unstick element #261

Closed Nikitosml closed 5 years ago

Nikitosml commented 7 years ago

Hi. It is necessary to use sticky menu between ads blocks in content part, but... Unable to unstick element I'm using something like this:

[ads block]

FIXED MENU CONTENT

CONTENT CONTENT CONTENT

[ads block]

So second [ads block] already scrolled, but

still stay sticked

Example: http://test.datki.net/pozdravleniya-s-dnem-pohmelya/

any ideas?

wa666ou commented 5 years ago

I would also like to know how to unstick an element. I have a content block in the middle of content that has a sticky button and it should unstick when that content ends. How you do it?