> I'm still very new with jQuery, but I'm actually liking it a lot, > mainly the extensive plugin library the community has created. I've > found the "Cycle" plugin, which works great for slideshows, but I'd > like to adapt it to something a little bit different: I want to > control what the next slide to be displayed is. I've been looking > around, but couldn't find anything.
I haven't tried this, but you might get this to work using the 'after' callback and changing the 'nextSlide' property of the options object. $('#slideshow').cycle({ after: function (curr, next, opts) { opts.nextSlide = 3; // set next slide index } });