自動彈跳視窗(Javascript)
發表於 : 2014-08-18, 02:20
代碼: 選擇全部
<html>
<head>
<script language="javascript">
<!--
function openwin() {
window.open ("/temp/page.html", "newwindow", "height=480, width=480,toolbar=no,menubar=no, scrollbars=no, resizable=no, location=no, status=no")
//寫成一行
}
//-->
</script>
</head>
<body onload="openwin()">
...任意的頁面內容...
</body>
</html> /temp/page.html //彈跳視窗的頁面