n秒后将跳转页面
<!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>无权限</title>
</head>
<body>
<span id="view"></span>
<script type="text/javascript" language="javascript">
var i=3
setInterval("testTime()",1000);
function testTime(){
if(i==0) location = "../index.asp";
view.innerHTML = " <span style='color:red'>对不起,你没有该系统操作权限,请联系管理员!</span></p><b>"+i+"秒后将跳转到<a href='../index.asp'>首页</a></b>";
i--;
}
</script>
</body>
</html>