diff options
Diffstat (limited to 'files/zh-cn/web/api/document')
-rw-r--r-- | files/zh-cn/web/api/document/onfullscreenchange/index.html | 4 | ||||
-rw-r--r-- | files/zh-cn/web/api/document/visibilitychange_event/index.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/api/document/onfullscreenchange/index.html b/files/zh-cn/web/api/document/onfullscreenchange/index.html index 68c269c2a0..e012de078f 100644 --- a/files/zh-cn/web/api/document/onfullscreenchange/index.html +++ b/files/zh-cn/web/api/document/onfullscreenchange/index.html @@ -59,8 +59,8 @@ document.documentElement.onclick = function () { <h2 id="相关文章">相关文章</h2> <ul> - <li><a href="https://wiki.developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API">Fullscreen API</a></li> - <li><a href="https://wiki.developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API/Guide">Guide to the Fullscreen API</a></li> + <li><a href="/zh-CN/docs/Web/API/Fullscreen_API">Fullscreen API</a></li> + <li><a href="/zh-CN/docs/Web/API/Fullscreen_API/Guide">Guide to the Fullscreen API</a></li> <li>{{event("fullscreenchange")}}</li> <li>{{domxref("Document.onfullscreenerror")}}</li> </ul> diff --git a/files/zh-cn/web/api/document/visibilitychange_event/index.html b/files/zh-cn/web/api/document/visibilitychange_event/index.html index f1c945c5ea..a2099d511b 100644 --- a/files/zh-cn/web/api/document/visibilitychange_event/index.html +++ b/files/zh-cn/web/api/document/visibilitychange_event/index.html @@ -33,7 +33,7 @@ translation_of: Web/API/Document/visibilitychange_event <p>该事件不包括文档的更新的可见性状态,但是您可以从文档的 {{domxref("Document.visibilityState", "visibilityState")}} 属性中获取该信息。</p> <div class="blockIndicator warning"> -<p>当 visibleStateState 属性的值转换为 <code>hidden </code>时,Safari不会按预期触发<code>visibilitychange</code>; 因此,在这种情况下,您还需要包含代码以侦听 <code><a href="https://wiki.developer.mozilla.org/en-US/docs/Web/API/Window/pagehide_event">pagehide</a></code> 事件。</p> +<p>当 visibleStateState 属性的值转换为 <code>hidden </code>时,Safari不会按预期触发<code>visibilitychange</code>; 因此,在这种情况下,您还需要包含代码以侦听 <code><a href="/zh-CN/docs/Web/API/Window/pagehide_event">pagehide</a></code> 事件。</p> </div> <div class="blockIndicator warning"> |