如何實現(xiàn)彈兩個窗口
想測試name參數(shù)一致及不一致的現(xiàn)象,從網(wǎng)上百度window.open()詳解
http://www.cnblogs.com/stswordman/archive/2006/06/02/415853.html
想實現(xiàn)兩個彈窗,結(jié)果一直沒有成功。請老師們指教
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>window.open</title>
<script type="text/javascript">
? function Wopen(){
? ? ? window.open ('http://idcbgp.cn', 'newwindow', 'height=100, width=100, top=0,left=0,toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no')?
//寫成一行?
window.open ('http://www.baidu.com', '', 'height=100, width=100, top=100, left=100,toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no')?
//寫成一行?
?}?
</script>
</head>
<body>
? ? <input name="button" type="button" onClick="Wopen()" value="點擊我,打開新窗口!" / >
</body>
</html>
2016-02-14
沒錯吧?我復制你的代碼彈出來的是兩個窗口
2016-07-22
能無限重復彈出的樣子
2016-07-22
點一次彈出一個,最后一共彈出兩個網(wǎng)頁