<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <ti
第一种:JS定时自动关闭窗口 <script language="javascript"> <!-- function closewin(){ self.opener=null; self.close();} function clock(){i=i-1 document.title="本窗口将在"+i+"秒后自动关闭!"; if(i>0)setTimeout("clock();",1000); els