.jpg)
One of the great things about working with jQuery is that you can create poweful components without needing to use a whole lot of code. This week I’m releasing a very compact Slideshow plug-in that lets you create fade-in slideshows and it only takes up 820 bytes. I made this possible by skipping the normal routine of defining a <ul> list with <li> elements for each of the images and instead using a JavaScript array to store their locations.
Is this a good idea? Some would say that graceful degredation in the absence of JavaScript is a necessity, but as images aren’t hugely used for SEO purposes, I think that using simple arrays are more than adequate for achieving our goals here. The plug-in works across Firefox 3.5, IE, Chrome and Safari and if you need some more functionality out of it, it’s not difficult to add some keyboard events or nav buttons to skip through the images using other UI elements.
Please feel free to use it wherever useful :)

Related posts:
Related posts brought to you by Yet Another Related Posts Plugin.
RSS feed for comments on this post. TrackBack URL
August 6th, 2009 at 3:05 am
It works great!
I think the css border on the #slideshow img element is causing a 1 pixel shift in the images as they fade in.
November 21st, 2009 at 10:02 am
[...] 11. The 820 byte Compact jQuery Slideshow Component [...]
November 27th, 2009 at 8:37 am
[...] 11. The 820 byte Compact jQuery Slideshow Component [...]