Reputation: 1162
How will I know if jquery slider is at the end of the scroll?
I'll call an ajax function to load a page when I reach it.
Upvotes: 0
Views: 756
Reputation: 8096
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!');
});
Upvotes: 1