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!');
});
精彩评论