Does anyone know the code for redirection, eg: the page will be redirected to the homepage in 7 secs.
Thanks ;)
Printable View
Does anyone know the code for redirection, eg: the page will be redirected to the homepage in 7 secs.
Thanks ;)
It should look like this...HTML Code:<meta http-equiv="REFRESH" content="5;url=index.php">
I think that's it anyway...HTML Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="REFRESH" content="5;url=index.php">
</head>
Or if you for an obscure reason dont want a metter refresh theres a javascript redirect.
HTML Code:<SCRIPT LANGUAGE="JavaScript">
window.location="http://www.yourdomain.com/";
</script>
Ok, Thanks ;)
First one worked
Thanks :)
I would use this as it has a timer although all the other methods are perfect..
<script language="JavaScript">
var time = null
function move() {
window.location = 'http://www.yourdomain.com'
}
</script>
that goesin the head tag and then to change the time add this in the body
<body onload="timer=setTimeout('move()',2000)"> thee 2000 is the time so change that to change the time :)
Always happy to help :)
@Mentor. Why wouldn't u want 1?!1! It's like the easiest there is :) :o :eusa_shif
i did say for any obscure reason. its just another way of doing it.
most efficant way would just be use a php header redirect, but youd need php for that :D
lol, yes i suppose you would :)