How to Create JavaScript Image Slideshow with Links
Image Slideshow (Photo credit: Wikipedia ) If you want to place links on the images or captions of the image slideshow using JavaScript codes, you can do it by creating a new array of links along with the array of images and captions and adding some codes on 'swap' function to rotate links with the image and caption rotation in the slideshow. Here I have written codes for creating JavaScript image slideshow with links, you can use these codes on your website or blog to create attractive image slideshow. Code for Creating Slideshow with Links on Image Just copy and paste the code below where you want to place slideshow and change the location of the images. <script type="text/javascript"> var i = 0; var image = new Array(); // LIST OF IMAGES image[0] = "image-1.png"; image[1] = "image-2.png"; image[2] = "image-3.png"; var k = image.length-1; var caption = new Array(); // LIST OF CAPTIONS caption[0] = "Caption for the ...