比较版本

window.open

修订版 133578:

由 Ghostheaven 在 进行的修订 133578

修订版 133579:

由 Ghostheaven 在 进行的修订 133579

标题:
window.open
window.open
网址缩略名:
DOM/window.open
DOM/window.open
标签:
"Gecko DOM Reference"
"Gecko DOM Reference"
内容:

修订版 133578
修订版 133579
n10    <h3 name=".E5.AE.9A.E4.B9.89">n10    <h3 id=".E5.AE.9A.E4.B9.89" name=".E5.AE.9A.E4.B9.89">
n16    <h3 name="Syntax">n16    <h3 id="Syntax" name="Syntax">
n22    <h3 name=".E5.8F.82.E6.95.B0.E4.B8.8E.E8.BF.94.E5.9B.9E.E5.80n22    <h3 id=".E5.8F.82.E6.95.B0.E4.B8.8E.E8.BF.94.E5.9B.9E.E5.80.B
>.BC">>C" name=".E5.8F.82.E6.95.B0.E4.B8.8E.E8.BF.94.E5.9B.9E.E5.80.BC">
n30        打开的新窗口对象的引用。是oepn方法的返回值; 可能是<code>null</code> 如果因为某些原因导致窗n30        打开的新窗口对象的引用。是oepn方法的返回值; 可能是<code>null</code> 如果因为某些原因导致窗
>口没有打开。建议用一个全局变量来保存此引用。然后你就可以来操作新的窗口对象,只要父子窗口满足“<a class="internal>口没有打开。建议用一个全局变量来保存此引用。然后你就可以来操作新的窗口对象,只要父子窗口满足“<a class="internal
>" href="/cn/Same_origin_policy_for_JavaScript" title="cn/Same ori>" href="/cn/JavaScript%E7%9A%84%E5%90%8C%E6%BA%90%E7%AD%96%E7%95%
>gin policy for JavaScript">同源策略</a>”。>A5" title="cn/JavaScript的同源策略">同源策略</a>”。
n57    <h3 name=".E8.AF.B4.E6.98.8E">n57    <h3 id=".E8.AF.B4.E6.98.8E" name=".E8.AF.B4.E6.98.8E">
n66    <h4 name=".E4.BE.8B.E5.AD.90">n66    <h4 id=".E4.BE.8B.E5.AD.90" name=".E4.BE.8B.E5.AD.90">
n118    <h4 name="Position_and_size_features">n118    <h4 id="Position_and_size_features" name="Position_and_size_f
 >eatures">
n260    <h4 name="Toolbar_and_chrome_features">n260    <h4 id="Toolbar_and_chrome_features" name="Toolbar_and_chrome
 >_features">
n363    <h4 name="Window_functionality_features">n363    <h4 id="Window_functionality_features" name="Window_functiona
 >lity_features">
n488    <h4 name="Features_requiring_privileges">n488    <h4 id="Features_requiring_privileges" name="Features_requiri
 >ng_privileges">
n612    <h3 name="Best_practices">n612    <h3 id="Best_practices" name="Best_practices">
n739    <h3 name="FAQ">n739    <h3 id="FAQ" name="FAQ">
n851    <h3 name="Usability_issues">n851    <h3 id="Usability_issues" name="Usability_issues">
n854    <h4 name="Avoid_resorting_to_window.open.28.29">n854    <h4 id="Avoid_resorting_to_window.open.28.29" name="Avoid_res
 >orting_to_window.open.28.29">
n876    <h4 name="Offer_to_open_a_link_in_a_new_window.2C_using_thesen876    <h4 id="Offer_to_open_a_link_in_a_new_window.2C_using_these_g
>_guidelines">>uidelines" name="Offer_to_open_a_link_in_a_new_window.2C_using_th
 >ese_guidelines">
n882    <h5 name="Never_use_this_form_of_code_for_links:.3Ca_href.3D.n882    <h5 id="Never_use_this_form_of_code_for_links:.3Ca_href.3D.22
>22javascript:window.open.28....29.22_....3E">>javascript:window.open.28....29.22_....3E" name="Never_use_this_f
 >orm_of_code_for_links:.3Ca_href.3D.22javascript:window.open.28...
 >.29.22_....3E">
n917    <h5 name="Never_use_.3Ca_href.3D.22.23.22_onclick.3D.22windown917    <h5 id="Never_use_.3Ca_href.3D.22.23.22_onclick.3D.22window.o
>.open.28....29.3B.22.3E">>pen.28....29.3B.22.3E" name="Never_use_.3Ca_href.3D.22.23.22_oncl
 >ick.3D.22window.open.28....29.3B.22.3E">
n923    <h5 name="Always_identify_links_which_will_create_.28or_will_n923    <h5 id="Always_identify_links_which_will_create_.28or_will_re
>re-use.29_a_new.2C_secondary_window">>-use.29_a_new.2C_secondary_window" name="Always_identify_links_wh
 >ich_will_create_.28or_will_re-use.29_a_new.2C_secondary_window">
n1012    <h5 name="Always_use_the_target_attribute">n1012    <h5 id="Always_use_the_target_attribute" name="Always_use_the
 >_target_attribute">
n1018    <h5 name="Do_not_use_target.3D.22_blank.22">n1018    <h5 id="Do_not_use_target.3D.22_blank.22" name="Do_not_use_ta
 >rget.3D.22_blank.22">
n1024    <h3 name="Glossary">n1024    <h3 id="Glossary" name="Glossary">
n1051    <h3 name="Specification">n1051    <h3 id="Specification" name="Specification">
n1057    <h3 name="Notes">n1057    <h3 id="Notes" name="Notes">
n1060    <h4 name="Note_on_precedence">n1060    <h4 id="Note_on_precedence" name="Note_on_precedence">
n1086    <h4 name="Note_on_position_and_dimension_error_correction">n1086    <h4 id="Note_on_position_and_dimension_error_correction" name
 >="Note_on_position_and_dimension_error_correction">
n1095    <h4 name="Note_on_scrollbars">n1095    <h4 id="Note_on_scrollbars" name="Note_on_scrollbars">
n1123    <h4 name="Note_on_status_bar">n1123    <h4 id="Note_on_status_bar" name="Note_on_status_bar">
n1129    <h4 name="Note_on_security_issues_of_the_status_bar_presence"n1129    <h4 id="Note_on_security_issues_of_the_status_bar_presence" n
>>>ame="Note_on_security_issues_of_the_status_bar_presence">
n1154    <h4 name="Note_on_fullscreen">n1154    <h4 id="Note_on_fullscreen" name="Note_on_fullscreen">
n1181    <h4 name="Note_on_outerHeight_versus_height">n1181    <h4 id="Note_on_outerHeight_versus_height" name="Note_on_oute
 >rHeight_versus_height">
n1187    <h3 name="Tutorials">n1187    <h3 id="Tutorials" name="Tutorials">
t1199    <h3 name="References">t1199    <h3 id="References" name="References">

返回历史