这段没问题
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<script language=javascript>
function closeit() {
setTimeout("self.close()",10000) //毫秒
}
</script>
</head>
<body onload="closeit()">
</body>
</html>注意你的代码前的空格,作者是在文本文件里写的,所以当然是要加空格了
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<script language=javascript>
function closeit() {
setTimeout("self.close()",10000) //毫秒
}
</script>
</head>
<body onload="closeit()">
</body>
</html>注意你的代码前的空格,作者是在文本文件里写的,所以当然是要加空格了
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货