提交了也跳轉(zhuǎn)了 就是沒有頁面什么情況
<!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('widcbgp.cn','_blank','width=600,height=400,top=100,left=o,');
? } ;
</script>
</head>
<body>
? ? <input name="button" type="button" onClick="Wopen()" value="點(diǎn)擊我,打開新窗口!" / >
</body>
</html>
2020-03-17
你left尺寸錯了? 是0? 不是字母o
2020-03-14
<!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','_blank',
? ? ? 'width:600,hegit:400, magin-top:100px,magin-left:0px')
}?
</script>
</head>
<body>
? ? <input name="button" type="button" onClick="Wopen()" value="點(diǎn)擊我,打開新窗口!" / >
</body>
</html>
2020-03-10
要完整的鏈接http://
2020-03-03
?wwww?三個w吧,而且要加http://的開頭