Home  >  Q&A  >  body text

_parent和_top有什么区别呀?

感觉是一样的效果

phpcn_u233phpcn_u2332860 days ago946

reply all(2)I'll reply

  • 数据分析师

    数据分析师2017-09-30 23:10:06

    What is the difference between _parent and _top? -PHP Chinese website Q&A-What is the difference between _parent and _top? -PHP Chinese website Q&A

    Please watch and learn.

    reply
    0
  • 阿神

    阿神2016-12-20 14:38:27

    都是浏览器打开的方式,

    parent
    这个目标使得文档载入父窗口或者包含超链接引用的框架的框架集。如果这个引用是在窗口或者在顶级框架中,那么它与目标 self 等效。

    top
    这个目标使得文档载入包含这个超链接的窗口,用 top 目标将会清除所有被包含的框架并将文档载入整个浏览器窗口。

    reply
    0
  • Cancelreply