treehouse : what would you like to learn today?
Web Design Web Development iOS Development

New to JavaScript; looking for Flash Alternative for Images

  • Hi all,
    I am wanting to show some images (all the same size) on a webpage. Each image would show for a matter of seconds, then fade out while the next image fades in (in the same physical location on the page).

    I wanted to put a DIV with a higher priority Z-Index that contains some buttons that was positioned over the top of the images.

    I know this can be accomplished through Flash, but I don't have flash, and for the simplicity of this figured this would be something JavaScript could handle.

    Does anyone know of some scripts I could investigate or any tips on how to accomplish this? I am trying to avoid re-inventing the wheel here.

    Thanks,
  • I would use the 'fade' option on the jQuery Cycle Plugin http://www.malsup.com/jquery/cycle/