//指定時間之後跳轉
<script language="javascript">
function go( ) {//定義函數
window
}
window
</script>
//指定時間之後自動關閉
<script type="text/javascript">
function closeMyWindow() {
window
}
</script>
<body>
<div>
<!
<input type="button" value="return closeMyWindow()" onclick="return closeMyWindow()" />
<br />
<!
<input type="button" value="onclick=
<br />
<!
<a href="#" onclick="closeMyWindow()">
<br/>
<!
<a href="#" onclick="window
<br/>
</div>
</body>
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/19919.html