Hi hansan, I tried something like this
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Go back to previous page after a delay</title>
<script type="text/javascript">
function goBack(){
history.go(-1);
}
</script>
</head>
<body onLoad="setTimeout('goBack()', 10000)">
<h1> Return to previous page after 10 seconds</h1>
</body>
</html>
which seem to work. I don't know if it's correct to do it this way. It takes me back to the previous page, but you could probably change the -1 to -2 to get you to the page before the previous page, if that's what you need. The milliseconds ( 10000) can be changed to whatever needed.
Bookmarks