Scripts | JS tutorials | Applets | Web Tutorials | Forum | Freewarejava

spacer.gif (810 bytes)


Please support our sponsor

Home / Free JavaScripts / Images & Music / Here

Website Abstraction

Cut & Paste Photo Slider

Credit: Website Abstraction

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:

Air Show Photos


Start Over

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.

Subscribe to our new newsletter, FREE!
Get weekly updates on Website Abstraction AND Freewarejava.com, for FREE! Subscribe to this popular web developer newsletter, and stay informed on the latest development in both JavaScript and Java.

Dynamic Drive DHTML code library
spacer.gif (810 bytes)

CopyRight © 1997-1999 Website Abstraction. All rights reserved

Click here for free Java applets!
spacer.gif (810 bytes)