I’ve been using the jQuery Javascript library a lot recently, although this website is actually done entirely using jQuery’s biggest competitor; Prototype+Scriptaculous. A few things have convinced me that jQuery is better:mainly jQuery UI (particularly the theming), also the level of abstraction is nice – you’re almost not writing Javascript anymore, you’re writing jQuery – that’s a good thing (Javascript smells bad). jQuery’s documentation is better too, and there seems to be a bigger community surrounding it.
Furthermore, jQuery UI’s widget “factory” makes it very convenient to create standard web controls that can be easily used by anyone.
I therefore thought it would be appropriate if I ported the cool image gallery slider thingie from the gallery part of my website from Scriptaculous into jQuery, and released it as an opensource jQuery UI widget that anyone could use. That is what I’ve done, it’s called MediaSlide, licensed under my 1-clause Javascript BSD license. Visit the MediaSlide project page now for more details (including the code you need to add a MediaSlide to your website), or have a play with the example below to get an idea of what it does:
The widget you see above is a minature version of MediaSlide – it loads the image list directly from my Flickr feed – the images and thumbnails themselves are loaded directly from Flickr too. You can use Flickr feeds to populate MediaSlide with images, or you can use your own XML or JSON feeds. Consult the comprehensive MediaSlide documentation for more information.










































