手记

js入门篇打开新窗口手记

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>window.open</title>
<script type="text/javascript">
function Wopen(){
window.open('www.baidu.com','_blank','width=300,height=200,menuber=year,toolbar=year,scollbara=no,status=year')

}
</script>
</head>
<body>
<input name="button" type="button" onClick="Wopen()" value="点击我,打开新窗口!" / >
</body>
</html>

0人推荐
随时随地看视频
慕课网APP