滚动到视口边缘时图像消失

Zor*_*n M 3 jquery image parallax

我们中的一些人想知道为什么本教程演示中的图像在触摸顶部后立即消失 - 在演示中的幻灯片3上缓慢滚动:

http://webdesigntutsplus.s3.amazonaws.com/tuts/338_parallax/src/index.html

我还没搞清楚.教程在这里:http: //webdesign.tutsplus.com/tutorials/complete-websites/create-a-parallax-scrolling-website-using-stellar-js/

小智 8

我找到了答案:这是hideDistantElementsstellar.js中的参数.您需要将0更改为1,从而有效地禁用它.

参考:https: //github.com/markdalgleish/stellar.js/issues/7