<%@ <ht例4-2-夏 icrosoft Internet Explorer 回区 %文件)编辑g)查看)收藏)工具①)帮助 ⊙后退·的户搜索☆ 收藏夹 个数组 地址①)ahttp://localhost/eshop/4/4-2.asp 转到 本字典中所包括的内容如下 第1个是http://www.whpu.educn/ ary 第2个是ftp://ftp.whpu.edhu.cn 第3个是http://mail.whpu.educn/ npu. edu. cn 共有3记录 edu. cn ‰ e <bo 本 <%f <%n(完毕 本地 Intrane 共有<%= mdict. count%>记录<br> </body></htm1>
<%@ Language=VBScript %> <html> <% dim a(3) '定义了一个数组 a(1)="武汉工业学院" a(2)="武汉工业学院的FTP服务器" a(3)="武汉工业学院的mail服务器" set mydict=server.createobject("scripting.dictionary") mydict.add "武汉工业学院","http://www.whpu.edu.cn/" mydict.add "武汉工业学院的FTP服务器","ftp://ftp.whpu.edu.cn/" mydict.add "武汉工业学院的mail服务器","http://mail.whpu.edu.cn/" %> <head><title>例4-2</title></head> <body> 本字典中所包括的内容如下:<br> <%for i=1 to mydict.count%> 第 <%=i%> 个是 <%=mydict.Item(a(i))%><br> <%next %> 共有<%=mydict.count%>记录<br> </body></html>
4.1.3AsP的对象模型 1.服务器端对象 常见的内置对象如下: (1) Application对象 (2) Request对象 (3) Response对象: (4) Serve对象: (5) Session对象:
4.1.3 ASP的对象模型 1. 服务器端对象 常见的内置对象如下: (1)Application对象: (2)Request对象: (3)Response对象: (4)Server对象: (5)Session对象:
4.1.3AsP的对象模型 2.客户端对象 Windows frames Document History aviator ocation Document Document Element body Anchors Links Forms All Button checkbox
4.1.3 ASP的对象模型 2. 客户端对象 Windows Frames Document History Location Document Document Element Body Anchors Forms All Button checkbox Navigator Links
42 VBScript Window对象 2.客户端对象 Window对象是动态HTM对象模型层次的根基,封装 了当前浏览器环境的信息。一个 Window对象可包含几个 Frame(框架)对象。 Window对象包括了对其它六个对象的引用: Document、 History、 Location、 Navigator、 Screen和 Event
4.2 VBScript Window对象 2. 客户端对象 Window对象是动态HTML对象模型层次的根基,封装 了当前浏览器环境的信息。一个Window对象可包含几个 Frame(框架)对象。 Window 对 象 包 括 了 对 其 它 六 个 对 象 的 引 用 : Document、History、Location、Navigator、Screen 和 Event
421 VBScript Window对象的属性 1.Name属性 name返回的是该窗口的名称,是一个只读的属性. < a href=" new url" target=" rightframe">新指针<a>
4.2.1 VBScript Window对象的属性 1. Name属性 name返回的是该窗口的名称,是一个只读的属性. <a href="new_url" target="rightframe">新指针</a>