Window Relationships and Frames

  If a page contains frames, each frame has its own window object and is stored in the frames collection. Within the frames collection, the window objects are indexed both by number and by the name of the frame.

  The top object always points to the very top(outermost) frame, which is the browser window itself. Any code written within a frame that references the window object is pointing to that frame‘s unique instance rather than the topmost one.

  Another window object is called parent. The parent object always points to the current frame‘s immediate parent frame.

时间: 2024-08-02 16:26:21

Window Relationships and Frames的相关文章

http2协议翻译(转)

超文本传输协议版本 2 IETF HTTP2草案(draft-ietf-httpbis-http2-13) 摘要 本规范描述了一种优化的超文本传输协议(HTTP).HTTP/2通过引进报头字段压缩以及多路复用来更有效利用网络资源.减少感知延迟.另外还介绍了服务器推送规范. 本文档保持对HTTP/1.1的后向兼容,HTTP的现有的语义保持不变. 1 介绍 The Hypertext Transfer Protocol (HTTP) is a wildly successful protocol.

Web前端之iframe详解

iframe基本内涵 通常我们使用iframe直接直接在页面嵌套iframe标签指定src就可以了. <iframe src="demo_iframe_sandbox.htm"></iframe> 但是,有追求的我们,并不是想要这么low的iframe. 我们来看看在iframe中还可以设置些什么属性 iframe常用属性: 1.frameborder:是否显示边框,1(yes),0(no) 2.height:框架作为一个普通元素的高度,建议在使用css设置.

JS入门经典笔记

1,转义字符 \b 退格字符   \f 换页符   \n 换行字符  \r 回车字符  \t 制表符  \'单引号 \"双引号 \\ 反斜线 \xNN 其中NN是一个十六进制数,表示Latin-1字符集中的编号来表示一个字 2.parseInt()函数与parseFloat()函数把字符串转换为整数和浮点数   这两个函数逐字解析,如果解析到的字符不是有效数字,解析将停止,并把解析到之前的字符串转换为对应的数值.如parseInt("123abc")将返回数值123,当jav

高程第8章 BOM 8.1window对象

8.1 window对象 BOM的核心对象是window,它表示浏览器的一个实例.在浏览器中,window即是通过JavaScript访问浏览器窗口的一个接口,又是ECMAScript规定的Global对象.这意味着在网页中定义的任何一个对象,变量和函数,都以window作为其Global对象,因此有权访问parseInt()等方法. 8.1.1 全局作用域 所有在全局使用域中声明的变量,函数都会变成window对象的属性和方法. var age=29; function sayAge(){ c

BOM(Browser Object Model) 浏览器对象模型

JavaScript 实现是由 3 个部分组成:核心(ECMAScript),文档对象模型(DOM),浏览器对象模型(BOM) BOM(Browser Object Model) 浏览器对象模型BOM定义了JavaScript进行操作浏览器的各个功能部件的接口,提供访问文档各个功能部件(如窗口本身.屏幕功能部件.框架.浏览历史记录等)的途径以及操作方法.BOM是JavaScript应用中唯一没有相关标准的部分, ,每种浏览器都有其特有的BOM扩展实现. BOM对象 描述Window JavaSc

Unity3D Optimizing Graphics Performance for iOS

原地址:http://blog.sina.com.cn/s/blog_72b936d801013ptr.html icense Comparisons http://unity3d.com/unity/licenses#iphone Optimizing Graphics Performance http://unity3d.com/support/documentation/Manual/Optimizing Graphics Performance.html iOS A useful bac

网易云课堂js学习比较

javascript:用来在页面中编写特效的,和html/css一样都是由浏览器解析的 javascript语言: 一.js如何运行的(javaScript,jscript,vbscript,applet) 二.输出 alert(什么类型都可以) document.write(字符串) 三.如何在html中使用js 1.使用<script></script>将js语法嵌入到html中,可以使用多个,每一个之间都是有关联的 2.href="javascript:js代码&q

WGZX:javaScript 学习心得--1

标签: javascriptiframedreamweaver浏览器htmltable 2008-09-11 10:50 1071人阅读 评论(0) 收藏 举报  分类: UI(21)  1,document.getElementById方法只能获取到一个对象,即使有多个同名的对象,也只取第 一个具有该名称的对象,例如在一个form(名称为myform)中,有三个id="mycheckbox"的复选框,那么使用 document.getElementById("mycheck

总结!

Window 1.    doucument      frames     history     location      navigator         screen              |        anchors        forms      location    images       links 2.命名函数:function funcName() {     } 其中,funcName是函数的名称,可以使用funcname()来调用.(直接使用执行的函数