如何实现弹两个窗口
想测试name参数一致及不一致的现象,从网上百度window.open()详解
http://www.cnblogs.com/stswordman/archive/2006/06/02/415853.html
想实现两个弹窗,结果一直没有成功。请老师们指教
<!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://www.imooc.com', '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>