New Slideshow Plugin – Horizontal Carousel Version
Got an email asking how hard it would be to add a horizontal scrolling transition to my SimpleSlideShow class. At first I was going to suggest that the inquirer simple use my IconMenu class, but it’s always nagged me that for a carousel that has only one item visible at a time, IconMenu is overkill. It’s a big class with a ton of logic dedicated to figuring out pagination of several objects. You just don’t need all that if you’re only showing one at a time.
So what the heck, I just went ahead and added the horizontal scroller to the class as an extension in about 60 lines of code. Not bad.
You can see it in action in the wikitorial – there’s also a carousel version of SimpleImageSlideShow – and the docs, of course.
Follow @clientcide on twitter to get notified of new posts.
To follow me personally on twitter, follow @anutron.