阅读背景:

如何在每次窗口滚动时调用具有特定类的每个元素的函数(jquery))

来源:互联网 

I am trying to make a scroll-triggered function which slides elements in from one side based on the scroll position. I would like it to run on all elements with 'my-class', but currently my code seems to think 'this' is the window, not each 'my-class' element. Is there something wrong with the way I am calling the function? How can I get each element to run the function?I am trying to make a scroll-triggered function




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: