Archive for November, 2008

JQuery Carousel Plugin

Sunday, November 16th, 2008

I recently decided to spice up the interface of my side project by adding a “carousel” effect to the calendar using the jcarousel plugin. It seemed quite promising at first but ended up being difficult to coerce to fit my specific requirements and its big feature set made it a little on the large size.

A few minutes playing around in TextMate encouraged me to roll my own, which ended up being quite successful. So I decided to tidy up the code, pull it out into its own plugin, and share it on GitHub.

You can get the source and examples by using this clone url:

git clone git://github.com/mikejones/carousel.git

It was written with an emphasis on simplicity and customization. It has a small feature set out of the box (just enough for my needs) but it provides hooks and callbacks making its behavior easily customisable (see the examples). Also the source has *hopefully* been kept readable so its easily hackable if you reach its limitations.