Bye bye Prototype!
I’ve been struggling for a couple of days to make a javascript carousel. Or, to find a library that does that. There are a ton of scripts out there, just grab one of ‘em and let’s get started!
Ughhh. Little or no documentation. Incomplete examples. Lots of HTML and CSS just to have the same thing as in the example and it still doesn’t work. Seriously, is it really that big? In the meantime I saw this page, Top 10 JS Carousels and Sliders. Out of those 10, 5 (namely: five!) were written in jQuery and only two in Prototype.
So today I gave up. I installed jrails. And tried out jCarouselLite as jCarousel seemed too big for my needs. And guess what? I got it up and running in about 10 minutes, including downloading, skimming documentation and updating my HTML (actually, removing all unnecessary markup needed by previous libraries). Worked like a charm. Also, now I’m really really angry that Rails makes you use Prototype by default.
You can see the result on my projects page.
