PDA

View Full Version : redirect to another url in 5 seconds



d-machine
06-13-2008, 10:44 AM
Hi

I am looking for some code, which will allow me to redirect from some file to another URL in 5 seconds

Do you have any idea?

Thanks :)

Nile
06-13-2008, 11:42 AM
Does this work for you, add it at the top of your page in the <head> section:


<META http-equiv="refresh" content="5;URL=url">

Or if you want javascript:


<script type="text/javascript">
setTimeout("window.location='url'",5000);
</script>

Change the highlighted. ;)

d-machine
06-13-2008, 12:21 PM
THANKS !!!
YOU ARE GENIUS :cool:

Nile
06-13-2008, 08:57 PM
Anytime d-machine. :)