d4nyll / smartscroll

jQuery plugin for scrolljacking and auto-hashing
https://d4nyll.github.io/smartscroll/
MIT License
257 stars 45 forks source link

Scroll for section only #10

Closed promokit closed 8 years ago

promokit commented 9 years ago

Hi. Is it possible to have smartscroll for the section only, but not for whole page?

d4nyll commented 9 years ago

Yes, there's Hybrid Scroll, but currently, it only works with a header (if you have a non-scrolling section at the bottom, it doesn't work).

I am planning on refining this feature towards the end of this month.

promokit commented 9 years ago

I want to clarify my question with following screenshot: https://www.dropbox.com/s/o1wxt56irkc9ljt/content-scroll.png Is it possible to have a scroll for "content" part only?

d4nyll commented 9 years ago

No, it's not possible at the moment. I am adding it to the to-do / to-investigate list. Thanks for the suggestion.

promokit commented 9 years ago

Thank you ver much!

d4nyll commented 8 years ago

After much thought, the architecture change that would be required to do that would be too different from what it is at the present. So this feature won't be implemented on smartscroll.

You can, of course, do this is through an iframe though.

But again, thank you for your suggestion.