Centerpiece Slideshow With jQuery
My Showcase Slideshow With MooTools was pretty popular but it's over two years old. I've recreated the functionality of the script (hopefully improving it slightly) using jQuery.
Check out the demo or download the project files.
Note: This demo is written using jQuery 1.4.4
They Call It a Centerpiece
In the web world, "Centerpiece" is apparently the agreed upon term for large homepage image/story combination. So that's what I'm calling this script.
Improvements and Changes
In the old script, each "story" needed to have its own numbered ID. The new script numbers them for you (for all intents and purposes).
The old script would flake out if you clicked the thumbnails in rapid succession. I think that had something to do with the way the animation function worked. It used a global "number" variable which iterated. In the new script, the animation function finds the current active story and simply animates to the next one.
The loading icon was removed. Ideally we'd use the image load event to specify when loading is concluded, but that event in jQuery doesn't seem ready for primetime. This shouldn't really be a problem as we don't usually have loading graphics for every image on our page.
Comments are closed.
Comments
No comments yet.