说说下面代码的作用

来源:百度知道 编辑:UC知道 时间:2024/06/01 12:03:19
<script language=”VBScript”>
<!—
Dim popup
Popup=Window.open(“tan.htm”,”popunav”,”width=225,height=235,resizable=1,scrollbars=auto”)
-->
</script>

打开一个新窗口,
URL是 tan.htm
窗口名字是 popunav
窗口宽度 width=225
窗口高度 height=235
窗口可以 改变大小resizable=1
窗口按内容来显示滚动条 scrollbars=auto

Popup=Window.open 把窗口对象返回给变量 Popup