首页 > Windows开发 > 详细

Window Relationships and Frames

时间:2015-05-19 18:15:19      阅读:284      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!