大神求解啊
<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("确定打开这个网页");
if(open==true) {var url=prompt{"是否打开这个网页","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="新窗口打开网站" onclick="openwindow()" /> </body></html>