Adding Links To Javascript Image Arrays
I've got some code here for a slideshow that I need to add links to, it is a JavaScript image array that works fine but I am not sure how to add links to each picture. I'm very new
Solution 1:
According to Dynamic Drive, the second key in the image array should be your URL value and the third value is the text you want to display For instance:
["images_ads/image1.jpg", "http://www.stackoverflow.com", "Your text goes here"],
Post a Comment for "Adding Links To Javascript Image Arrays"