案例:javascript案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<html>
2
<head>
3
<script type="text/javascript">
4
function open_win() 
5
{
6
window.open("//www.w3xue.com")
7
}
8
</script>
9
</head>
10
11
<body>
12
<form>
13
<input type=button value="打开窗口" onclick="open_win()">
14
</form>
15
</body>
16
17
</html>