怎么调用链接,大神?
<!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 abc=prompt("确认打开这个网址吗?", "http://www.imooc.com");
if(abc!=null)
{
alert(window.open('url', '_blank','width=400,height=500,menubar=no,toolbar=no'))
}
else
{
abc.close()
}
</script>
</head>
<body>
<input type="button" value="新窗口打开网站" onClick="openWindow()" />
</body>
</html>
点button没反应