jQuery scroll() detect when user stops scrolling

前端 未结 13 1687
情歌与酒
情歌与酒 2020-11-22 02:17

Ok with this..

$(window).scroll(function()
{
    $(\'.slides_layover\').removeClass(\'showing_layover\');
    $(\'#slides_effect\').show();
});
13条回答
  •  半阙折子戏
    2020-11-22 02:49

    please check the jquery mobile scrollstop event

    $(document).on("scrollstop",function(){
      alert("Stopped scrolling!");
    });
    

提交回复
热议问题