bmgamble.com
Home Web Design Portfolio Resume Software Development Contact Me

Custom Code

-Back-

Slideshow (Animated) JavaScript
Date Added: May 18, 2003
Platforms: NS: none - IE: all
Author: Bryan Gamble (bryan@bmgamble.com)
Homepage: bmgamble.com
Description:
    Good for photo albums with images with a smaller file size. Press a button to view photos in order.
Example:
    Click to animate
The Code:

    Cut and paste this code by pressing "highlight all":

    Cut and paste this code by pressing "highlight all":
Notes:
    All images must be in the same directory for this to work. You can edit the code to make it work with .jpg files as well. This code makes use of a form and "onClick" functionality. When the user clicks on the button, the counter is incremented or decremented accordingly. The pictures wrap back around after the last image is shown so the counter doesn't try to call an image out in never-never land. If you have any problems installing this, please e-mail me at bryan_1978@yahoo.com.

    Make sure the images start with "0". For example if you have 3 images, they should be named "00_img.jpg", "01_img.jpg", and "02_img.jpg".

    To see how this script works, click the "start" button. The animation will continue until "stop" is clicked. Images can be of any size. preferably the smaller file size, the better this type of slide show will be. If images with a large file size are used, maybe the manual slide show would be better to use.

-Back-

home - web design - portfolio - resume - soft dev - contact me

Copyright 2003,2004 bmgamble.com all rights reserved