转:
http://blog.csdn.net/yeorange/article/details/4354700
<html>
<head>
<title>网页特效-综合特效-VBScript使用window.open打开新窗口</title>
<meta http-equiv=”content-Type” content=”text/html;charset=gb2312″>
</head>
<body>
<!–把下面代码加到<body>与</body>之间–>
<script language=”vbscript”>
<!–
sub win()
window.open ”
http://hi.baidu.com/yewin/”,”New”,”width=800,height=600,toolbar=1,status=0,location=0,menubar=0,scrollbars=0
”
end sub
–>
</script>
<input type=”button” value=”打开窗口” οnclick=”vbs:win()”>
<input type=”button” value=”打开窗口” language=vbscript οnclick=”window.open ‘http://hi.baidu.com/yewin’,’New’,’width=300,height=100,toolbar=1,status=0,location=0,menubar=0,scrollbars=0′”>
</body>
</html>