parent 是它的父窗口
TOP 是顶层

解决方案 »

  1.   

    parent相对于框架来说就是父框架,top就是从屏幕上边缘到新窗口上边框之间的像素数(left)
    reload()方法从心载入当前页面!
    opener该属性返回对初始window对象(也就是,打开新窗口的代码所在的窗口)的引用
      

  2.   

    parent--------------------------------------------------------------------------------DescriptionReturns the parent object in the object hierarchy. Syntax
    object.parentResFor a document, the parent is the containing window. For a window defined using FRAME, the parent is the window that contains the corresponding FRAMESET definition. This property has read-only permission, meaning you can retrieve its current value, but not change it. Applies Towindow 
      

  3.   

    top--------------------------------------------------------------------------------DescriptionSpecifies the topmost ancestor window, which is its own parent. Syntax
    object.topResThis property has read-only permission.Applies Towindow 
      

  4.   

    top,parent这词具体意义是什么,parent是当前的意思,top又是什么意思呢?
    下面是一些回答的原句,是什么意思,有什么区别?
      1) parent.parent.rightframe.location.reload()  //当前层的上上一层中的一个frame,name为rightframe,不一定是最上一层的frame
      2)  top.rightframe.location.reload()  //肯定是最上一层中的frame
      3)  parent.location.reload()  //当前层的上一层
      4)  top.location.reload()  //最上一层还有这样的回答:
         self.location.reload()   self是什么意思?//自己本身
         window.opener.parent.main.location.reload()  window, opener什么意思? //当前窗口是使用window.open来打开的,opener是打开该窗口的页面