大神求解啊
<html>
<head>
<title>
ll</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
? <meta http-equiv="Content-Type" content="text/html; charset=gbk"/>?
? ? <script type="text/javascript">?
function openwindow(){var open=confirm("確定打開這個網(wǎng)頁");
if(open==true) {var url=prompt{"是否打開這個網(wǎng)頁","http://www.baidu.com"}
if(url!=null){window.open('http://www.baidu.com','-black','width=400,height=500,menubar=no,toolbar=mo');}
? else{? ? ? ? ? ? alert("再見");? ? ? ? }? ? }? </script>? </head>? <body>??
? <input type="button" value="新窗口打開網(wǎng)站" onclick="openwindow()" />? </body></html>
2018-08-04
你那個_blank ? 好像打成了-blank了
2018-08-03
D大哥們 解答一下啊