多方向、多图像、视差滚动
我正在创建一个采用“桌面”设计的网站,换句话说,是一个单页面,div 页面遍布整个页面。
我使用scrollTo进行导航,在导航动画期间,我希望背景上方的图像进行视差滚动,以帮助产生深度和运动的感觉。
此时我已经使用了许多插件,但没有发现任何插件可以提供我正在寻找的内容,所有图像都将在页面的各个区域具有不同的起始位置和不同的速度,因此我需要能够在页面加载时有一个固定的位置。可能会有大量图像需要执行此操作。
我已经在这方面坚持了很长时间,现在我必须使用你们互联网天才来拯救我!
I'm creating a website which is set-out on a "table top" design, in other words a single page with div pages spread-out throughout the page.
I am using scrollTo for the navigation, and during the animation of the navigation I want images above the background to be doing parallax scrolling to help the feeling of depth and movement.
I have used many plug-in's at this point and have found none which would offer what I am looking for, all of the images are going to have starting positions in various areas of the page and different speeds and therefore I need to be able to have a set position on page load. There is likely going to be a large(ish) amount of images which need to do this.
I have been on this for far to long and I now must use you GENIUSES OF THE INTERNET to save me!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
视差滚动相当简单,不需要插件,但您可以轻松地将其附加到
$.fn
以使其成为 jQuery 插件:parallax scrolling is fairly simple, no real need for a plugin, though you can easily attach this to
$.fn
to make it a jQuery plugin: