[FONT="]Salve a tutti. Come dice il titolo, sto cercando di inserire un collegamento ipertestuale per singola immagine in uno script che mi estrae a sorte un immagine.[/FONT]
[FONT="]Eccovi il codice in questione![/FONT]
[FONT="]<script language="Javascript">[/FONT]
[FONT="]<!--[/FONT]
[FONT="]function image() {[/FONT]
[FONT="]};[/FONT]
[FONT="]image = new image();[/FONT]
[FONT="]number = 0;[/FONT]
[FONT="]// imageArray[/FONT]
[FONT="]image[number++] = "<b><center>SORTEGGIO5</center></b> <center><img src='img/3.png'></center>"[/FONT]
[FONT="]image[number++] = "<b><center>SORTEGGIO4</center></b> <center><img src='img/2.png'></center>"[/FONT]
[FONT="]image[number++] = "<b><center>SORTEGGIO3</center></b> <center><img src='img/1.png'></center>"[/FONT]
[FONT="]increment = Math.floor(Math.random() * number);[/FONT]
[FONT="]//-->[/FONT]
[FONT="]</script>[/FONT]
[FONT="]COME POSSO INSERIRE UN COLLEGAMENTO IPERTESTUALE PER SINGOLA IMMAGINE? CIOE IN UNA DI QUELLE IMMAGINI ESTRATTE VORREI FARE IN MODO CHE SI CI POSSA CLICCARE SOPRA! MA QUANDO METTO UN <a href="sorteggio.html"> LO SCRIPT NON FUNZIONA PIU!![/FONT]
[FONT="]Eccovi il codice in questione![/FONT]
[FONT="]<script language="Javascript">[/FONT]
[FONT="]<!--[/FONT]
[FONT="]function image() {[/FONT]
[FONT="]};[/FONT]
[FONT="]image = new image();[/FONT]
[FONT="]number = 0;[/FONT]
[FONT="]// imageArray[/FONT]
[FONT="]image[number++] = "<b><center>SORTEGGIO5</center></b> <center><img src='img/3.png'></center>"[/FONT]
[FONT="]image[number++] = "<b><center>SORTEGGIO4</center></b> <center><img src='img/2.png'></center>"[/FONT]
[FONT="]image[number++] = "<b><center>SORTEGGIO3</center></b> <center><img src='img/1.png'></center>"[/FONT]
[FONT="]increment = Math.floor(Math.random() * number);[/FONT]
[FONT="]//-->[/FONT]
[FONT="]</script>[/FONT]
[FONT="]COME POSSO INSERIRE UN COLLEGAMENTO IPERTESTUALE PER SINGOLA IMMAGINE? CIOE IN UNA DI QUELLE IMMAGINI ESTRATTE VORREI FARE IN MODO CHE SI CI POSSA CLICCARE SOPRA! MA QUANDO METTO UN <a href="sorteggio.html"> LO SCRIPT NON FUNZIONA PIU!![/FONT]