aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/intersection_observer_api
diff options
context:
space:
mode:
authorMasahiro FUJIMOTO <mfujimot@gmail.com>2021-09-14 11:07:46 +0900
committerGitHub <noreply@github.com>2021-09-14 11:07:46 +0900
commit03385cc9f4f157cec2e5fd05f35e6af646055908 (patch)
tree445fcb3a7d033d4ef35c4d4238b28b9630e3dc5b /files/ja/web/api/intersection_observer_api
parentb8899e350326af3e53dfad89747761c1c13a3915 (diff)
downloadtranslated-content-03385cc9f4f157cec2e5fd05f35e6af646055908.tar.gz
translated-content-03385cc9f4f157cec2e5fd05f35e6af646055908.tar.bz2
translated-content-03385cc9f4f157cec2e5fd05f35e6af646055908.zip
Web/API以下の文書内のリンクURLを正規化 (#2360)
- /en-US へのリンクを /ja へのリンクに修正 - /ja が付いていないものに /ja を付加 - MDN内のリンクが完全URLの場合、 /ja/docs からのURLに修正
Diffstat (limited to 'files/ja/web/api/intersection_observer_api')
-rw-r--r--files/ja/web/api/intersection_observer_api/timing_element_visibility/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ja/web/api/intersection_observer_api/timing_element_visibility/index.html b/files/ja/web/api/intersection_observer_api/timing_element_visibility/index.html
index 42f9db568a..b2da47c169 100644
--- a/files/ja/web/api/intersection_observer_api/timing_element_visibility/index.html
+++ b/files/ja/web/api/intersection_observer_api/timing_element_visibility/index.html
@@ -23,7 +23,7 @@ translation_of: Web/API/Intersection_Observer_API/Timing_element_visibility
<div id="fullpage_example">
<h2 id="サイト構造:HTML">サイト構造:HTML</h2>
-<p>The site's structure is not too complicated. We'll be using <a href="/en-US/docs/Web/CSS/CSS_Grid_Layout">CSS Grid</a> to style and lay out the site, so we can be pretty straightforward here:</p>
+<p>The site's structure is not too complicated. We'll be using <a href="/ja/docs/Web/CSS/CSS_Grid_Layout">CSS Grid</a> to style and lay out the site, so we can be pretty straightforward here:</p>
<pre class="brush: html">&lt;div class="wrapper"&gt;
&lt;header&gt;
@@ -249,7 +249,7 @@ function startup() {
<h3 id="ドキュメントの可視性の変更の処理">ドキュメントの可視性の変更の処理</h3>
-<p>Let's take a look at the handler for the {{event("visibilitychange")}} event. Our script receives this event when the document itself becomes visible or invisible. The most important scenario here is when the user switches tabs. Since Intersection Observer only cares about the intersection between the targeted elements and the intersection root, and not the tab's visibility (which is a different issue entirely), we need to use the <a href="/en-US/docs/Web/API/Page_Visibility_API">Page Visibility API</a> to detect these tab switches and disable our timers for the duration.</p>
+<p>Let's take a look at the handler for the {{event("visibilitychange")}} event. Our script receives this event when the document itself becomes visible or invisible. The most important scenario here is when the user switches tabs. Since Intersection Observer only cares about the intersection between the targeted elements and the intersection root, and not the tab's visibility (which is a different issue entirely), we need to use the <a href="/ja/docs/Web/API/Page_Visibility_API">Page Visibility API</a> to detect these tab switches and disable our timers for the duration.</p>
<pre class="brush: js">function handleVisibilityChange() {
if (document.hidden) {