Ciao a tutti, ho un problemino che non so come risolvere magari per voi sarà facile aiutarmi;
Ho uno script che mi carica delle immagini ad ogni ora e funziona ma il problema e che quando scatta l'ora devo ricaricare la pagina per visualizzare l'immagine nuova, potrei aggiungere uno script che mi ricarica automaticamente la pagina ma non è quello che voglio altrimenti mi causa un brutto effetto senza contare che brucerebbe connessione a go go per chi non usa la 24h, quello che vorrei cercare di fare e che l'immagine che carica alle X:00 oltre che caricarla me la mostri cambiandomela subito.
E' possibile risolvere la cosa secondo voi? che sicuramente ne sapete più di me.
Grazie in anticipo per l'aiuto e per il vostro tempo.

Allego le parti di script:

codice HTML:
<script type="text/javascript">
d=document; today=new Date(); hour=today.getHours();
if(hour<2) d.write("<img src=\"1.gif\" width=\"150\" height=\"150\" >");
else if(hour<3) d.write("<img src=\"2.gif\" width=\"150\" height=\"150\" >");
else if(hour<4) d.write("<img src=\"3.gif\" width=\"150\" height=\"150\" >");
else if(hour<5) d.write("<img src=\"4.gif\" width=\"150\" height=\"150\" >");
else if(hour<6) d.write("<img src=\"5.gif\" width=\"150\" height=\"150\" >");
else if(hour<7) d.write("<img src=\"6.gif\" width=\"150\" height=\"150\" >");
else if(hour<8) d.write("<img src=\"7.gif\" width=\"150\" height=\"150\" >");
else if(hour<9) d.write("<img src=\"8.gif\" width=\"150\" height=\"150\" >");
else if(hour<10) d.write("<img src=\"9.gif\" width=\"150\" height=\"150\" >");
else if(hour<11) d.write("<img src=\"10.gif\" width=\"150\" height=\"150\" >");
else if(hour<12) d.write("<img src=\"11.gif\" width=\"150\" height=\"150\" >");
else if(hour<13) d.write("<img src=\"12.gif\" width=\"150\" height=\"150\" >");
else if(hour<14) d.write("<img src=\"1.gif\" width=\"150\" height=\"150\" >");
else if(hour<15) d.write("<img src=\"2.gif\" width=\"150\" height=\"150\" >");
else if(hour<16) d.write("<img src=\"3.gif\" width=\"150\" height=\"150\" >");
else if(hour<17) d.write("<img src=\"4.gif\" width=\"150\" height=\"150\" >");
else if(hour<18) d.write("<img src=\"5.gif\" width=\"150\" height=\"150\" >");
else if(hour<19) d.write("<img src=\"6.gif\" width=\"150\" height=\"150\" >");
else if(hour<20) d.write("<img src=\"7.gif\" width=\"150\" height=\"150\" >");
else if(hour<21) d.write("<img src=\"8.gif\" width=\"150\" height=\"150\" >");
else if(hour<22) d.write("<img src=\"9.gif\" width=\"150\" height=\"150\" >");
else if(hour<23) d.write("<img src=\"10.gif\" width=\"150\" height=\"150\" >");
else if(hour<24) d.write("<img src=\"11.gif\" width=\"150\" height=\"150\" >");
else if(hour<1) d.write("<img src=\"12.gif\" width=\"150\" height=\"150\" >");
else d.write("<img src='status.gif'>")
</script>

<body onload="autoReload()" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">