網頁基本操作

定時關閉

<html>
<body οnlοad='setTimeout("mm()",2000)'>
<script>function mm()
{ window.opener=null; 
  window.close();
} 
</script>
<body>
<html>




跳出網頁

window.open( url,'newwindow', 'width=200, height=1, top=200, left=400, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=0, status=no' );


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章