Redirect
Posted: Mon Nov 07, 2005 2:09 pm
How come this doesn't work? I never really use javascript... but as far as I know this should be ok... ??
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Paradise Direct - Northern California's Premiere Web Design & Hosting Service</title>
<script language="javascript" type="text/javascript">
function reDirect(sTargetURL="http://www.paradisedirect.com", offSet=3){
setTimeout(location.replace(sTargetURL), offSet)
}
</script>
</head>
<body onLoad="reDirect()">
You are being redirected...
</body>
</html>