Ryan Brotherton | Web Development and more.

May/09

26

JavaScript: Image Carousel

One day I found myself in need of an image carousel, but instead of grabbing a pre-made script I decided to write my own.  Why re-invent the wheel you ask?  Because I like to learn and I love JavaScript, I don’t get to write custom JavaScript nearly enough.  Also, to better understand how this particular wheel works.  I want to re-write this eventually  to remove the dependency on Scriptaculous.

I shouldn’t have to say this but if you want to use it, you’re free to use it for any purpose.

Dependencies: Scriptaculous – For the fading effect.

Code: http://ryanbrotherton.pastebin.com/f1cc2203c

No tags

No comments yet.

Leave a Reply

You must be logged in to post a comment.

<<

>>

Theme Design by devolux.nh2.me