开发者

jquery slider detect end of scroll?

开发者 https://www.devze.com 2022-12-21 04:37 出处:网络
How will I know if j开发者_如何学运维query slider is at the end of the scroll? I\'ll call an ajax function to load a page when I reach it.When you do a slide, you can pass in a function to be called

How will I know if j开发者_如何学运维query slider is at the end of the scroll?

I'll call an ajax function to load a page when I reach it.


When you do a slide, you can pass in a function to be called after the animation is over.

$('#myEl').slideDown(function(){
    alert('Animation complete!');
});
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号