<!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 box=confirm("quedingdakai")? ? ? ? if(box==true)? ? ? ? {? ? ? ? ? ? var box=prompt("qingshuru","http://idcbgp.cn")? ? ? ? ? ? if(box!=mull)? ? ? ? ? ? {? ? ? ? ? ? ? ? window.open('http://idcbgp.cn,-blank,width=400,height=500,meunbar=no,scrollbar=no,tollbar=no')? ? ? ? ? ? }? ? ? ? }? ? ? ? else{? ? ? ? ? ? alert("111111")? ? ? ? }? ? ? ?else{? ? ? ? ? ? alert("22222") ? } }? ??? </script>??</head>??<body>? ?<input type="button" value="新窗口打開網(wǎng)站" onclick="openWindow()" />??</body></html>
這個怎么打不開新窗口呀
qq_12月_0
2016-11-24 22:40:58