码迷,mamicode.com
首页 > Windows程序 > 详细

Window Relationships and Frames

时间:2015-05-19 18:17:32      阅读:196      评论:0      收藏:0      [点我收藏+]

标签:

  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. 

Window Relationships and Frames

标签:

原文地址:http://www.cnblogs.com/linxd/p/4514964.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!