The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Start/Stop Slider Interval problem Re: Start/Stop Slider Interval problem


I think I found the problem, but I’m not sure how to fix it.
The issue appears to be here:

else {
$(".slide img").animate({
"top": -200
}, function() {


"left": movement
}, function() {
$(".slide img").animate({
"top": 20

I tucked the breakpoint in there to fire after the image slides up. I have to click OK on the alert exactly 17 times each time (which is the number of slides I have). If I add or remove slides the alert fires the same number of times as there are slides.
Any ideas?