JavaScriptは数秒後に動作します.

551 ワード

<script language="JavaScript1.2" type="text/javascript">
		<!-- 
		function delayURL(url, time) {
		    setTimeout("window.location.href='" + url + "'", time);//      
		    setTimeout("window.close()", time);						//       
		}
		//-->
</script>
<script type="text/javascript">
		<!--
			delayURL("<%=url%>", 1000);//      1000 1 
		//-->
</script>