How do I assign a hyperlink to an image that has been loaded from an array?
var pic = new Array();
pic[0] = "picture0.jpg";
pic[1] = "picture1.jpg";
pic[2] = "picture2.jpg";
pic[3] = "picture3.jpg";
pic[4] = "picture4.jpg";
var url = new Array();
url[0] = "url0.html";
url[1] = "url1.html"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.