不知道為什么一直彈不出窗口,有誰可以幫我看一下嗎,qaq
<!DOCTYPE html>
<html>
?<head>
? <title> new document </title>?
? <meta http-equiv="Content-Type" content="text/html; charset=gbk"/>??
? <script type="text/javascript">?
? function openWindow(){
?? var mymessage=confirm("是否確定打開?");
??
if(mymessage==true){window.open('http://idcbgp.cn','_blank',
???
width=400px,height=500px,menubar=no,toolbar=no;)}}
??
?
? </script>
?</head>
?<body>
?? <input type="button" value="新窗口打開網(wǎng)站" onclick="openWindow()" />
?</body>
</html>
2019-08-16
你指的是彈不出哪個窗口???
2019-07-31
window.open('http://idcbgp.cn','_blank',
????
width=400px,height=500px,menubar=no,toolbar=no;)
改為
window.open('http://idcbgp.cn','_blank',
????
'width=400px,height=500px,menubar=no,toolbar=no')