Flash slideshow help
Flash slideshow help
- Started
- Last post
- 2 Responses
- kumori040
It sounds like it would be able to break if someone clicks around faster than the delay function can be called. I would add the following BEFORE declaring the DelayTime var:
if (DelayTime != NaN) {
clearInterval(DelayTime);
}This way, if someone clicks, your interval will be created normally, but it'll also check first if there's already an interval running, and clears it before starting a new one.
- estetic0
PERFECT!
Thanks.