求救!帮忙看一下吧,已经不行了
<!DOCTYPE html>
<html>
<head>
<title> new document </title>
<meta http-equiv="Content-Type" content="text/html; charset=gbk"/>
<script type="text/javascript">
function openWindows(){
var open=confirm("open or not");
if(open==true)
{var url=prompt("is this address?","http;//www.imooc.com");
if(url !=null)
{window.open(url,"_blank,",'width=600px,height=400px,menubar=no,toolbar=no');
}
else{alert("see you again");
}
else{alert("see you");}
}
</script>
</head>
<body>
<input type="button" value="新窗口打开网站" onclick="openWindow()" />
</body>
</html>