Reputation: 1188
Using jQuery's cycle plugin for a basic slide (using fade) banner.
I'd like to have an image move right every time it slides, to show what image we're on.
The way I've coded it, it works once and then stops. I'd like to have it slide ride each time the image changes and then have it slide back to the first image at the end.
I've create the following Fiddle to show what I mean: http://jsfiddle.net/9QXWn/
It does it once, and then stops.
Could someone modify the JSFiddle to have it change each time? And if it's not too much to ask, have it reset when it's processed the queue once?
Upvotes: 0
Views: 263
Reputation: 1409
IMHO you can put your function in the before
or after
parameter of cycle method.
please check this http://jsfiddle.net/bondythegreat/HPwca/1/
Upvotes: 1