Allego qui di seguito il mio codice HTML per chiedervi aiuto su una cosa forse banale ma che non riesco a fare...
Vorrei che cliccando sul link (immagine) apri in una nuova pagine il nuovo collegamento...
</head>
<body bgcolor="#99CCFF">
<!-- Inizio BANNER Random -->
<script language="JavaScript">
<!--
// Create arrays to contain all the values
// for links and image locations
link = new Array
image = new Array
link[1]="http://www.superandyweb.it/webcam/webcam-nord.htm"
image[1]="http://jpeg.popso.it/webcam/webcam_online/stelvio_05.jpg"
link[2]="http://www.superandyweb.it/webcam/webcam-nord.htm"
image[2]="http://turismo.regione.veneto.it/webcam/huge.jpg"
link[3]="http://www.superandyweb.it/webcam/webcam-nord.htm"
image[3]="http://www.ultimo.it/padova/pics/pad001.jpg"
// Create a random number between 1 and five
random_num = (Math.round((Math.random()*2)+1))
// Write a link and images with random array
document.write("<a href=\"" + link[random_num] + "\">");
document.write("<img src=\"" + image[random_num] + "\" height=60 border=\"0\"></a>");
-->
</script>
<!-- Fine BANNER Random -->
</body>
</html>