Responsively animate page elements while scrolling using JavaScript [EDIT: Parallax Scrolling]

主宰稳场 提交于 2019-12-03 07:14:38

It is called parallax scrolling.

They just detect the window position and then apply a jquery animation when the window is scrolled to whatever points they set.

See an in-depth explination and tutorial here: http://coding.smashingmagazine.com/2011/07/12/behind-the-scenes-of-nike-better-world/

There is an example and opensource GitHub project here: http://prinzhorn.github.com/skrollr/

In my opinion it is normally bad design. I suppose it can be subtle and done well but it often is distracting for no real purpose.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!