Home / Free JavaScripts / Image Slideshows & Galleries / Here

Cut & Paste Photo Slider

Credit: JavaScript Kit

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.


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.

JavaScript Tools:
Site Info

CopyRight (c) 2018 JavaScript Kit. NO PART may be reproduced without author's permission. Contact Info