简体   繁体   English

更改Jquery视差效果的方向

[英]Change Orientation on Jquery Parallax Effect

I´m using a simple Scrolldeck Jquery Parallax effect to scroll itens at different speeds but i´m having some trouble to make itens move from top to bottom, on the example below you can find a shoe moving from bottom to top at different scroll speed. 我正在使用简单的Scrolldeck jQuery视差效果以不同的速度滚动Itens,但是我在使Itens从顶部移动到底部有些麻烦,在下面的示例中,您会发现鞋子以不同的滚动速度从底部移动到顶部。

I´ve tried to change css position to negative values, change outerHight values but i can´t find a EndPoint to the transition, only the startPoint, maybe that´s why i can´t achieve this. 我试图将css位置更改为负值,更改externalHight值,但是我找不到过渡的EndPoint,只有startPoint,也许这就是为什么我无法实现这一点。

I want to make the same thing but moving the same shoe from top to bottom, as the page is scrolled, as i see on many sites, anyone can help me with that ? 我想做同样的事情,但是随着页面的滚动,上下移动相同的鞋子,就像我在许多网站上看到的那样,有人可以帮助我吗?

Example: http://johnpolacek.github.com/scrolldeck.js/decks/parallax/ 示例: http//johnpolacek.github.com/scrolldeck.js/decks/parallax/

the parallax scrolling is best explained at http://net.tutsplus.com/tutorials/html-css-techniques/simple-parallax-scrolling-technique/ 最好在http://net.tutsplus.com/tutorials/html-css-techniques/simple-parallax-scrolling-technique/上解释视差滚动
Easy, fast and good way to implement the technique. 轻松,快速和良好的方法来实施该技术。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM