jQuery cycle plugin
So, I moved the carousel over to use a jQuery plugin that we’ve been using for a few years now: jQuery Cycle Plugin by malsup.
One of the things that I really like about this plugin is that it will create a carousel/cycle out of just about anything. For example, to create a simple carousel all you need is something as simple as:
<img src="image-1.png" />
<img src="image-2.png" />
<img src="image-3.png" />
If you want to add pagers, arrows or a variety of effects then jQuery Cycle Plugin will handle all of those to, dynamically creating the additional HTML to inject into your page much of which you have control of, such as class names which you can then use CSS to style.
We’ve found this to be a particularly useful plugin when using T4 Site Manager.
The plugin author has recently released a new version Cycle2 which I’ve still to check out, but if it’s anywhere as good as the first version then I imagine we’ll be moving to that in the not too distant future.
If you’re looking for a good, versatile carousel plugin then you can’t go far wrong adding this to your jQuery toolbox.