Is there any way to frame content based on scroll position; Whenever a user scrolls past a certain marker point the page is pushed (locked) to a certain position (slide) guiding the user to view the content on that slide (the page is based on https://github.com/richardshepherd/Parallax-Scrolling/). There would be multiple marker points so the user is guided to view the content on the slides.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
yes. There is a nifty little jquery plugin that handles this: https://github.com/bigspotteddog/ScrollToFixed
or you can reference this previous post dealing with the same subject matter: Stopping fixed position scrolling at a certain point?