Jump to content

Javascript Slide Show / Slider


cpugeek
 Share

Recommended Posts

I've looked through tons of Javascript "Galleries" and "Slide shows" and I still have yet to find exactly what I'm looking for.What I need is a slide show set up horizontally with a larger main image and off to the side click-able thumbnails.On click the main image would fade in the new picture.The other aspect would be the thumbnails slide away to reveal more thumbnails that are also click-able.and when a thumbnail hasn't been clicked on after so many seconds (like a slide show) the next picture would fade in the larger space.And if it's not too much for it to be written in jQuery.Does anyone know anything similar or how I would build one or add on to an existing one?Any & All help is appreciated! [:Something like this:16206330.jpg

Link to comment
Share on other sites

If you don't want the fade affect this should work:

src = IMAGE SRC;main = document.getElementById(MAIN THUMBNAIL);main.attributes.src = src;

If you want the fade affect maybe use opacity?

src = IMAGE SRC;main = document.getElementById(MAIN THUMBNAIL);for (i = 0;i > 0;i++) {main.styles.opacity = i;};main.attributes.src = src;

Been a while since I used JS but that should do the trick.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...