Trovato!
Ti consiglio questo javascript piuttosto che il meta tag:
Javascript Time Delay
Note:codice:<html> <head> <script type="text/javascript"> <!-- function delayer(){ document.location = "http://www.sito.it" } //--> </script> </head> <body onLoad="setTimeout('delayer()', 5000)"> </body> </html>
The most important part of getting the delay to work is being sure to use the javascript function setTimeout. We want the delayer() function be used after 5 seconds or 5000 miliseconds, so we pass the setTimeout() two arguments.
* 'delayer()' - The function we want setTimeout() to execute after the specified delay.
* 5000 - the number of milisecods we want setTimeout() to wait before executing our function. 1000 miliseconds = 1 second.



Rispondi quotando