阅读背景:

等到一个事件发生之后再转到下一个事件

来源:互联网 

I currently have a scrolling anchor animation that also adds an "active" class to the anchor clicked. I am trying to fit the below function into the works as well, so say someone clicks "anchor 1", "anchor 1" will get an active class and the window will scroll to that location. But, after that has happened say the user manually begins scrolling down the page, I want the active class to be removed. The problem I am running up against now is that the below function will happen when the scrolling animation from a clicked anchor is taking place. How can I disable this only when the window is being scrolled from a clicked anchor?I currently have a scrolling anchor animation t




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

分享到: