|
藍森林 http://www.lslnet.com 2006年8月25日 8:28
請教關於彈出網頁!!
window.open ('http://', 'height=200, width=500, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=yes,location=no, status=yes')//-->
</SCRIPT>
這樣做是自動彈出窗口,但是怎麼樣才能控制成用鼠標點擊來觸發此事件呢??就是說我想在按鈕上調用此語法來彈出窗口,因為這樣可以屏蔽掉菜單等東西,,我是初學者,誠心請教要領! |
[code]
<input type=button onClick="('http://', 'height=200, width=500, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=yes,location=no, status=yes')"
[/code] |
可不可以解說得詳細點呢?????????????/ |
|