好吧。
$(window).scroll(function()
{
$('.slides_layover').removeClass('showing_layover');
$('#slides_effect').show();
});
I can tell when someone is scrolling from what I understand. So with that I am trying to figure out how to catch when someone has stopped. From the above example you can see I am removing a class from a set of elements while the scrolling is occurring. However, I want to put that class back on when the user stops scrolling.
这是因为我打算在页面滚动时进行一个中转显示,以给页面一个我正在尝试的特殊效果。但是我在滚动时试图删除的一个类与这种效果相冲突,因为它在某些性质上具有透明性效果。