Queria preguntar como se puede agregar un link a cada imagen del siguiente script
Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- JavaScript Slideshow by Patrick Fitzgerald http://slideshow.barelyfitz.com/ --> <HTML> <HEAD> <TITLE>JavaScript Slideshow Template</TITLE> <SCRIPT type="text/javascript" src="slideshow.js"></SCRIPT> <SCRIPT type="text/javascript"> <!-- SLIDES1 = new slideshow("SLIDES1"); SLIDES1.timeout = 5000; SLIDES1.add_slide(new slide("pics/pic09i.jpg")); SLIDES1.add_slide(new slide("pics/pic10i.jpg")); SLIDES1.add_slide(new slide("pics/pic11i.jpg")); SLIDES2 = new slideshow("SLIDES2"); SLIDES2.timeout = 3100; SLIDES2.add_slide(new slide("pics/pic06i.jpg")); SLIDES2.add_slide(new slide("pics/pic07i.jpg")); SLIDES2.add_slide(new slide("pics/pic08i.jpg")); //--> </SCRIPT> </HEAD> <BODY onLoad="SLIDES1.update();SLIDES2.update();"> Features of this example slideshow: <UL> <LI> Two self-running slideshows on the same page <LI> Different speed for each slideshow </UL> <P> <IMG name="SLIDES1IMG" src="pics/pic1.jpg" alt="Slideshow image"> <IMG name="SLIDES2IMG" src="pics/pic2.jpg" alt="Slideshow image"> <SCRIPT type="text/javascript"> <!-- if (document.images) { SLIDES1.image = document.images.SLIDES1IMG; SLIDES1.update(); SLIDES1.play(); SLIDES2.image = document.images.SLIDES2IMG; SLIDES2.update(); SLIDES2.play(); } //--> </SCRIPT>
Saludos