Cut & Paste Photo Slider
|
Description: A simple "photo slider" script that allows your surfers to manually cycle through and browse an unlimited number of images. Comes with a forward and back button.
Example:
Directions: Simply insert the below into the <body> section of your page:
There are two things you should change in the above code. The first is the <img> tag of the fourth line of the code. Change both the "src" and "width/height" attribute inside to reflect the first image that will be shown. Do NOT change the name attribute. The second thing to change are the variables photos[0], photos[1] etc inside the <script> tags to reference the images that will be stored in the slider. Remember, you can have as many- or as few- images as you wish.