{"id":625,"date":"2021-10-19T20:34:59","date_gmt":"2021-10-19T11:34:59","guid":{"rendered":"https:\/\/freefuntimes.com\/?p=625"},"modified":"2022-04-16T19:54:14","modified_gmt":"2022-04-16T10:54:14","slug":"%e3%83%91%e3%83%bc%e3%82%bb%e3%83%b3%e3%83%88%e3%81%ae%e6%95%b0%e5%80%a4%e3%81%a8%e3%82%b2%e3%83%bc%e3%82%b8%e3%81%8c%e3%83%aa%e3%82%a2%e3%83%ab%e3%82%bf%e3%82%a4%e3%83%a0%e3%81%a7%e8%aa%ad%e3%81%bf","status":"publish","type":"post","link":"https:\/\/freefuntimes.com\/?p=625","title":{"rendered":"\u30d1\u30fc\u30bb\u30f3\u30c8\u306e\u6570\u5024\u3068\u30b2\u30fc\u30b8\u304c\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8aad\u307f\u8fbc\u307e\u308c\u3066\u3044\u304f\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u753b\u9762\u3092JavaScript\u3067\u5b9f\u88c5\u3057\u3066\u307f\u308b\uff08\u5099\u5fd8\u9332\uff09"},"content":{"rendered":"\n<p>\u4eca\u56de\u306f<meta charset=\"utf-8\">JavaScript\u3092\u7528\u3044\u3066\u3001\u30d1\u30fc\u30bb\u30f3\u30c8\u306e\u6570\u5024\u3068\u30b2\u30fc\u30b8\u304c\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8aad\u307f\u8fbc\u307e\u308c\u3066\u3044\u304f\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u753b\u9762\u3092\u5b9f\u88c5\u3057\u3066\u307f\u308b\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>\u30c7\u30e2\u306f\u4e0b\u8a18\u3092\u53c2\u8003\u3044\u305f\u3060\u304d\u305f\u3044\u304c\u3001\u5c11\u3057\u5bb9\u91cf\u306e\u5927\u304d\u3081\u306e\u753b\u50cf\u3092\u5165\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u901a\u4fe1\u5236\u9650\u3092\u6c17\u306b\u3059\u308b\u65b9\u306f\u6c17\u3092\u3064\u3051\u3066\u3044\u305f\u3060\u3051\u308c\u3070\u3068\u601d\u3046\u3002<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-col-ffffff-color has-col-c-3512-f-background-color has-text-color has-background\" href=\"https:\/\/freefuntimes.com\/demo\/0021_loading\/\" target=\"_blank\" rel=\"noreferrer noopener\">demo<\/a><\/div>\n<\/div>\n\n\n\n<p>\u305d\u308c\u3067\u306f\u89e3\u8aac\u306b\u5165\u3063\u3066\u3044\u304f\u3002<\/p>\n\n\n\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7420886115642360\" crossorigin=\"anonymous\"><\/script>\n<!-- \u5e83\u544a\uff12 -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-7420886115642360\" data-ad-slot=\"6763072797\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u6b21<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #382410;color:#382410\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #382410;color:#382410\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/freefuntimes.com\/?p=625\/#html%e3%81%ae%e8%a8%98%e8%bf%b0%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\" >html\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/freefuntimes.com\/?p=625\/#css%e3%81%ae%e8%a8%98%e8%bf%b0%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\" >css\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/freefuntimes.com\/?p=625\/#javascript%e3%81%ae%e8%a8%98%e8%bf%b0%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\" >JavaScript\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/freefuntimes.com\/?p=625\/#%e7%94%bb%e5%83%8f%e3%81%ae%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\" >\u753b\u50cf\u306e\u8aad\u307f\u8fbc\u307f\u306b\u3064\u3044\u3066<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/freefuntimes.com\/?p=625\/#setinterval%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e4%b8%80%e5%ae%9a%e6%99%82%e9%96%93%e3%81%94%e3%81%a8%e3%81%ab%e3%83%ad%e3%83%bc%e3%83%87%e3%82%a3%e3%83%b3%e3%82%b0%e3%81%ae%e5%87%a6%e7%90%86%e3%82%92%e7%b9%b0%e3%82%8a%e8%bf%94%e3%81%99\" >setInterval\u3092\u4f7f\u3063\u3066\u4e00\u5b9a\u6642\u9593\u3054\u3068\u306b\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3059<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/freefuntimes.com\/?p=625\/#setinterval%e3%81%ae%e6%99%82%e9%96%93%e8%a8%ad%e5%ae%9a\" >setInterval\u306e\u6642\u9593\u8a2d\u5b9a<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/freefuntimes.com\/?p=625\/#%e3%83%aa%e3%82%a2%e3%83%ab%e3%82%bf%e3%82%a4%e3%83%a0%e3%81%a7%e8%aa%ad%e3%81%bf%e8%be%bc%e3%82%93%e3%81%a7%e3%81%84%e3%82%8b%e3%83%91%e3%83%bc%e3%82%bb%e3%83%b3%e3%83%88%e3%82%92%e5%8f%96%e5%be%97%e3%81%99%e3%82%8b\" >\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8aad\u307f\u8fbc\u3093\u3067\u3044\u308b\u30d1\u30fc\u30bb\u30f3\u30c8\u3092\u53d6\u5f97\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/freefuntimes.com\/?p=625\/#%e3%83%aa%e3%82%a2%e3%83%ab%e3%82%bf%e3%82%a4%e3%83%a0%e3%81%a7%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%be%e3%82%8c%e3%82%8b%e3%82%b2%e3%83%bc%e3%82%b8%e9%83%a8%e5%88%86%e3%82%92%e5%8f%8d%e6%98%a0%e3%81%95%e3%81%9b%e3%82%8b\" >\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8aad\u307f\u8fbc\u307e\u308c\u308b\u30b2\u30fc\u30b8\u90e8\u5206\u3092\u53cd\u6620\u3055\u305b\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/freefuntimes.com\/?p=625\/#%e5%85%a8%e3%81%a6%e8%aa%ad%e3%81%bf%e8%be%bc%e3%82%93%e3%81%a0%e6%99%82%e3%81%ae%e5%87%a6%e7%90%86\" >\u5168\u3066\u8aad\u307f\u8fbc\u3093\u3060\u6642\u306e\u51e6\u7406<\/a><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"html%e3%81%ae%e8%a8%98%e8%bf%b0%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\"><\/span>html\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>&lt;!DOCTYPE html&gt;\n&lt;html lang=&quot;ja&quot;&gt;\n&lt;head&gt;\n  &lt;meta charset=&quot;UTF-8&quot;&gt;\n  &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;\n  &lt;meta name=&quot;robots&quot; content=&quot;index, follow&quot; \/&gt;\n  &lt;title&gt;\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0&lt;\/title&gt;\n  &lt;link rel=&quot;stylesheet&quot; href=&quot;..\/reset.css&quot;&gt;\n  &lt;link rel=&quot;stylesheet&quot; href=&quot;style.css&quot;&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n  &lt;div id=&quot;bl_loading&quot;&gt;\n    &lt;div id=&quot;bl_loadingPercentWrap&quot;&gt;&lt;span id=&quot;bl_loadingPercentNumber&quot;&gt;&lt;\/span&gt;%&lt;\/div&gt;\n    &lt;div id=&quot;bl_loadingGaugeWrap&quot;&gt;&lt;span id=&quot;bl_loadingGaugeMeter&quot;&gt;&lt;\/span&gt;&lt;\/div&gt;\n  &lt;\/div&gt;\n  &lt;main&gt;\n    &lt;section&gt;\n      &lt;div class=&quot;ly_inner&quot; id=&quot;menu1&quot;&gt;\n        &lt;h2&gt;menu1&lt;\/h2&gt;\n        &lt;div class=&quot;md_imgblock&quot;&gt;\n          &lt;p&gt;&lt;img src=&quot;img_01.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_02.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_03.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_04.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_05.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_06.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_07.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_08.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_09.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_10.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_01.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_02.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_03.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_04.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_05.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_06.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_07.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_08.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_09.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_10.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_01.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_02.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_03.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_04.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_05.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_06.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_07.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_08.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_09.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_10.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_01.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_02.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_03.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_04.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_05.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_06.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_07.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_08.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_09.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_10.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_01.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_02.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_03.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_04.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_05.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_06.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_07.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_08.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_09.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_10.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_01.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_02.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_03.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_04.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_05.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_06.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_07.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_08.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_09.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_10.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_01.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_02.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_03.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_04.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_05.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_06.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_07.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_08.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_09.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_10.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_01.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_02.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_03.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_04.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_05.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_06.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_07.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_08.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_09.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_10.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_01.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_02.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_03.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_04.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_05.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_06.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_07.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_08.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_09.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n          &lt;p&gt;&lt;img src=&quot;img_10.jpg&quot; alt=&quot;&quot;&gt;&lt;\/p&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n    &lt;\/section&gt;\n  &lt;\/main&gt;\n  &lt;script src=&quot;style.js&quot;&gt;&lt;\/script&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre><\/div>\n\n\n\n<p>\u307e\u305a\u3001\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u753b\u9762\u5168\u4f53\u3092bl_loading\u3067\u56f2\u3046\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u4e2d\u306e\u30d1\u30fc\u30bb\u30f3\u30c8\u90e8\u5206\u3092bl_loadingPercentWrap\u3067\u4f5c\u6210\u3002\u30d1\u30fc\u30bb\u30f3\u30c8\u306e\u6570\u5b57\u304c\u5165\u308b\u90e8\u5206\u306fbl_loadingPercentNumber\u3067\u4f5c\u308a\u3001\u4e2d\u8eab\u306f\u7a7a\u6b04\u306b\u3057\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>\u6a2a\u68d2\u306e\u30b2\u30fc\u30b8\u90e8\u5206\u306fbl_loadingGaugeWrap\u3067\u4f5c\u6210\u3002\u3042\u3068\u306f\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u30b2\u30fc\u30b8\u304c\u4f38\u3073\u3066\u3044\u304f\u90e8\u5206\u3092bl_loadingGaugeMeter\u3067\u4f5c\u6210\u3059\u308c\u3070OK\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>&lt;div id=&quot;bl_loading&quot;&gt;\n    &lt;div id=&quot;bl_loadingPercentWrap&quot;&gt;&lt;span id=&quot;bl_loadingPercentNumber&quot;&gt;&lt;\/span&gt;%&lt;\/div&gt;\n    &lt;div id=&quot;bl_loadingGaugeWrap&quot;&gt;&lt;span id=&quot;bl_loadingGaugeMeter&quot;&gt;&lt;\/span&gt;&lt;\/div&gt;\n&lt;\/div&gt;<\/code><\/pre><\/div>\n\n\n\n<p>\u3042\u3068\u306f\u753b\u50cf\u3092100\u679a\u30bd\u30fc\u30b9\u306b\u5f53\u3066\u8fbc\u3093\u3067\u3001\u691c\u8a3c\u3059\u308b\u3053\u3068\u306b\u3059\u308b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"css%e3%81%ae%e8%a8%98%e8%bf%b0%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\"><\/span>css\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>@charset &quot;utf-8&quot;;\n\n\/* ==========================\n  \u521d\u671f\u8a2d\u5b9a\n========================== *\/\n*,\n*::before,\n*::after {\n  box-sizing: border-box;\n}\nimg {\n  width: 100%;\n}\n\n\/* ==========================\n  \u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u753b\u9762\n========================== *\/\n#bl_loading {\n  position: fixed;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  background-color: #444;\n  color: #fff;\n  font-size: 12px;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  flex-direction: column;\n  transition: 0.3s;\n}\n#bl_loadingPercentWrap {\n  margin-bottom: 20px;\n}\n#bl_loadingGaugeWrap {\n  width: 100%;\n  height: 3px;\n  background-color: #666;\n}\n#bl_loadingGaugeMeter {\n  width: 0;\n  height: 3px;\n  background-color: #fff;\n  display: block;\n}\n\n\/* ==========================\n  \u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u4e2d\u8eab\n========================== *\/\n.ly_inner {\n  width: 100%;\n  max-width: 1080px;\n  margin: 100px auto;\n  padding: 20px;\n  background-color: #ccc;\n}\n.ly_inner h2 {\n  font-size: 150%;\n  font-weight: bold;\n  margin-bottom: 30px;\n}\n.md_imgblock {\n  text-align: center;\n}\n.md_imgblock &gt; * + * {\n  margin-top: 10px;\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u300c\u25cf%\u300d\u306e\u30c6\u30ad\u30b9\u30c8\u304c\u8868\u793a\u3055\u308c\u308b\u90e8\u5206\u306b\u3064\u3044\u3066\u306f\u3001\u4e0a\u4e0b\u5de6\u53f3\u4e2d\u592e\u306b\u914d\u7f6e\u3055\u308c\u308b\u3088\u3046\u306b\u3059\u3067\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u30de\u30fc\u30b8\u30f3\u3092\u4e0b\u5074\u306b\u3064\u3051\u3066\u3042\u3052\u3066\u30b2\u30fc\u30b8\u3068\u306e\u4f59\u767d\u3092\u7a7a\u3051\u3066\u3042\u3052\u308b\u3060\u3051\u3067OK\u3060\u3002<\/p>\n\n\n\n<p>\u6a2a\u68d2\u30b2\u30fc\u30b8\u306b\u3064\u3044\u3066\u306f\u3001\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u753b\u9762\u5168\u4f53\u3088\u308a\u3082\u5c11\u3057\u660e\u308b\u3044\u8272\u306b\u8a2d\u5b9a\u3057\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8aad\u307f\u8fbc\u307e\u308c\u3066\u3044\u304f\u30b2\u30fc\u30b8\u306f\u3001\u767d\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>#bl_loadingPercentWrap {\n  margin-bottom: 20px;\n}\n#bl_loadingGaugeWrap {\n  width: 100%;\n  height: 3px;\n  background-color: #666;\n}\n#bl_loadingGaugeMeter {\n  width: 0;\n  height: 3px;\n  background-color: #fff;\n  display: block;\n}<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"javascript%e3%81%ae%e8%a8%98%e8%bf%b0%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\"><\/span><meta charset=\"utf-8\">JavaScript\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>&#39;use strict&#39;;\n\n\/\/ \u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u753b\u9762\nconst images = document.getElementsByTagName(&#39;img&#39;); \/\/ \u30da\u30fc\u30b8\u5185\u306eimg\u30bf\u30b0\u3092\u53d6\u5f97\nconst loadingArea = document.getElementById(&#39;bl_loading&#39;); \/\/ \u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u753b\u9762\u5168\u4f53\nconst percentNumber = document.getElementById(&#39;bl_loadingPercentNumber&#39;); \/\/ \u25cf%\u306e\u25cf\u90e8\u5206\nconst loadingGauge = document.getElementById(&#39;bl_loadingGaugeMeter&#39;); \/\/ \u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8aad\u307f\u8fbc\u307e\u308c\u308b\u30b2\u30fc\u30b8\u90e8\u5206\nlet imgCounting = 0;\nlet baseCounting = 0;\nconst gaugeWidth = 100; \/\/ \u30b2\u30fc\u30b8\u306e\u5168\u4f53\u5e45\nlet current;\n\n\/\/ \u753b\u50cf\u306e\u8aad\u307f\u8fbc\u307f\nfor (let i = 0; i &lt; images.length; i++) {\n  const img = new Image(); \/\/ \u65b0\u305f\u306aimg\u8981\u7d20\u3092\u4f5c\u6210\n  \/\/ \u753b\u50cf\u8aad\u307f\u8fbc\u307f\u5b8c\u4e86\u3057\u305f\u3068\u304d\n  img.onload = function() {\n    imgCounting += 1;\n  }\n  \/\/ \u753b\u50cf\u8aad\u307f\u8fbc\u307f\u5931\u6557\u3057\u305f\u3068\u304d\n  img.onerror = function() {\n    imgCounting += 1;\n  }\n  img.src = images[i].src; \/\/ \u30bd\u30fc\u30b9\u306e\u30d1\u30b9\u3092\u8a2d\u5b9a\n};\n\n\/\/ setInterval\u3092\u4f7f\u3063\u3066\u4e00\u5b9a\u6642\u9593\u3054\u3068\u306b\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3059\nconst nowLoading = setInterval(function () {\n  \/\/ baseCounting\u304cimgCounting\u3088\u308a\u5927\u304d\u304f\u306a\u3089\u306a\u3044\u6761\u4ef6\u306e\u5834\u5408\u306b\u51e6\u7406\u3092\u5b9f\u884c\u3055\u305b\u308b\u30022\u56de\u76ee\u4ee5\u964d\u306b\u30da\u30fc\u30b8\u3092\u8aad\u307f\u8fbc\u3093\u3060\u6642\u306b\u753b\u50cf\u306e\u8aad\u307f\u8fbc\u307f\u5c65\u6b74\u304c\u6b8b\u3063\u3066\u3044\u308b\u95a2\u4fc2\u3067\u3001\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u753b\u9762\u306e\u8868\u793a\u304c\u901f\u304f\u7d42\u308f\u3063\u3066\u3057\u307e\u3046\u305f\u3081\u3001\u305d\u306e\u5bfe\u7b56\u3068\u3057\u3066\u6761\u4ef6\u3092\u3064\u3051\u3066\u3044\u308b\u3002\n  if(baseCounting &lt;= imgCounting) {\n    \/\/ \u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8aad\u307f\u8fbc\u3093\u3067\u3044\u308b\u30d1\u30fc\u30bb\u30f3\u30c8\u3092\u53d6\u5f97\n    current = Math.floor(baseCounting \/ images.length * 100);\n    \/\/ \u25cf%\u306e\u25cf\u90e8\u5206\u306b\u6570\u5b57\u3092\u7f6e\u304d\u63db\u3048\u308b\n    percentNumber.innerHTML = current;\n    \/\/ \u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8aad\u307f\u8fbc\u307e\u308c\u308b\u30b2\u30fc\u30b8\u90e8\u5206\u3092\u53cd\u6620\u3055\u305b\u308b\n    loadingGauge.style.width = Math.floor(gaugeWidth \/ 100 * current) + &#39;%&#39;;\n    baseCounting += 1;\n\n    \/\/ \u5168\u3066\u8aad\u307f\u8fbc\u3093\u3060\u6642\n    if (baseCounting === images.length) {\n      setTimeout(function() {\n        \/\/ \u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u753b\u9762\u5168\u4f53\u306e\u975e\u8868\u793a\n        loadingArea.style.display = &#39;none&#39;;\n        \/\/ \u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u7d42\u4e86\n        clearInterval(nowLoading);\n      }, 300);\n    }\n  }\n}, 50);<\/code><\/pre><\/div>\n\n\n\n<p>\u6700\u521d\u306f\u5909\u6570\u3092\u5ba3\u8a00\u3057\u3066\u5f15\u3063\u5f35\u3063\u3066\u3053\u308c\u308b\u3088\u3046\u306b\u3059\u308b\u3002\u4f55\u306b\u5bfe\u3057\u3066\u6307\u5b9a\u3057\u3066\u3044\u308b\u306e\u304b\u306f\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u3066\u5f8c\u308d\u306e\u65b9\u306b\u8a18\u8f09\u3057\u3066\u3044\u308b\u306e\u3067\u53c2\u8003\u306b\u3057\u3066\u307f\u3066\u6b32\u3057\u3044\u3002<\/p>\n\n\n\n<p>\u5f8c\u308d\u306e\u65b9\u3067let\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u306e\u306f\u3001\u5024\u306e\u5185\u5bb9\u304c\u5909\u308f\u3063\u3066\u3044\u304f\u95a2\u4fc2\u3067let\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>current\u306b\u3064\u3044\u3066\u306f\u3001\u5f8c\u534a\u3067\u30bd\u30fc\u30b9\u3092\u5165\u308c\u308b\u4e88\u5b9a\u306e\u305f\u3081\u5024\u3092\u7279\u306b\u5165\u308c\u3066\u3044\u306a\u3044\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%e7%94%bb%e5%83%8f%e3%81%ae%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\"><\/span>\u753b\u50cf\u306e\u8aad\u307f\u8fbc\u307f\u306b\u3064\u3044\u3066<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u30da\u30fc\u30b8\u3092\u8aad\u307f\u8fbc\u3080\u3068\u304d\u306b\u3001\u753b\u50cf\u304c\u3069\u3093\u3069\u3093\u8aad\u307f\u8fbc\u307e\u308c\u3066\u3044\u304f\u306e\u3060\u304c\u3001\u3053\u306e\u753b\u50cf\u304c\u8aad\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u72b6\u6cc1\u3092\u628a\u63e1\u3059\u308b\u305f\u3081\u306bfor\u6587\u3092\u4f7f\u3063\u3066\u51e6\u7406\u3092\u66f8\u3044\u3066\u3044\u304f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>for (let i = 0; i &lt; images.length; i++) {\n  const img = new Image(); \/\/ \u65b0\u305f\u306aimg\u8981\u7d20\u3092\u4f5c\u6210\n  \/\/ \u753b\u50cf\u8aad\u307f\u8fbc\u307f\u5b8c\u4e86\u3057\u305f\u3068\u304d\n  img.onload = function() {\n    imgCounting += 1;\n  }\n  \/\/ \u753b\u50cf\u8aad\u307f\u8fbc\u307f\u5931\u6557\u3057\u305f\u3068\u304d\n  img.onerror = function() {\n    imgCounting += 1;\n  }\n  img.src = images[i].src; \/\/ \u30bd\u30fc\u30b9\u306e\u30d1\u30b9\u3092\u8a2d\u5b9a\n};<\/code><\/pre><\/div>\n\n\n\n<p>\u65b0\u305f\u306aimg\u8981\u7d20\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306bnew Image()\u3092\u4f7f\u3063\u3066\u3001\u8981\u7d20\u3092\u4f5c\u6210\u3057\u3066\u3044\u304f\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u6642\u306b\u8aad\u307f\u8fbc\u307f\u306b\u6210\u529f\u3057\u305f\u308a\u5931\u6557\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3042\u308b\u306e\u3067\u3001\u3069\u3061\u3089\u306e\u5834\u5408\u3067\u3082\u3001\u6b21\u306e\u8aad\u307f\u8fbc\u307f\u306b\u9032\u3081\u3089\u308c\u308b\u3088\u3046onload\u3068onerror\u3092\u4f7f\u3063\u3066\u30ab\u30a6\u30f3\u30c8\u30921\u5897\u3084\u3057\u3066\u3001\u6b21\u306eimg\u306b\u79fb\u308c\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>src\u306b\u6570\u5b57\u304c0\u30011\u30012\u2026\u3068\u5165\u308b\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"setinterval%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e4%b8%80%e5%ae%9a%e6%99%82%e9%96%93%e3%81%94%e3%81%a8%e3%81%ab%e3%83%ad%e3%83%bc%e3%83%87%e3%82%a3%e3%83%b3%e3%82%b0%e3%81%ae%e5%87%a6%e7%90%86%e3%82%92%e7%b9%b0%e3%82%8a%e8%bf%94%e3%81%99\"><\/span>setInterval\u3092\u4f7f\u3063\u3066\u4e00\u5b9a\u6642\u9593\u3054\u3068\u306b\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3059<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const nowLoading = setInterval(function () {\n  \/\/ baseCounting\u304cimgCounting\u3088\u308a\u5927\u304d\u304f\u306a\u3089\u306a\u3044\u6761\u4ef6\u306e\u5834\u5408\u306b\u51e6\u7406\u3092\u5b9f\u884c\u3055\u305b\u308b\u30022\u56de\u76ee\u4ee5\u964d\u306b\u30da\u30fc\u30b8\u3092\u8aad\u307f\u8fbc\u3093\u3060\u6642\u306b\u753b\u50cf\u306e\u8aad\u307f\u8fbc\u307f\u5c65\u6b74\u304c\u6b8b\u3063\u3066\u3044\u308b\u95a2\u4fc2\u3067\u3001\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u753b\u9762\u306e\u8868\u793a\u304c\u901f\u304f\u7d42\u308f\u3063\u3066\u3057\u307e\u3046\u305f\u3081\u3001\u305d\u306e\u5bfe\u7b56\u3068\u3057\u3066\u6761\u4ef6\u3092\u3064\u3051\u3066\u3044\u308b\u3002\n  if(baseCounting &lt;= imgCounting) {\n    \/\/ \u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8aad\u307f\u8fbc\u3093\u3067\u3044\u308b\u30d1\u30fc\u30bb\u30f3\u30c8\u3092\u53d6\u5f97\n    current = Math.floor(baseCounting \/ images.length * 100);\n    \/\/ \u25cf%\u306e\u25cf\u90e8\u5206\u306b\u6570\u5b57\u3092\u7f6e\u304d\u63db\u3048\u308b\n    percentNumber.innerHTML = current;\n    \/\/ \u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8aad\u307f\u8fbc\u307e\u308c\u308b\u30b2\u30fc\u30b8\u90e8\u5206\u3092\u53cd\u6620\u3055\u305b\u308b\n    loadingGauge.style.width = Math.floor(gaugeWidth \/ 100 * current) + &#39;%&#39;;\n    baseCounting += 1;\n\n    \/\/ \u5168\u3066\u8aad\u307f\u8fbc\u3093\u3060\u6642\n    if (baseCounting === images.length) {\n      setTimeout(function() {\n        \/\/ \u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u753b\u9762\u5168\u4f53\u306e\u975e\u8868\u793a\n        loadingArea.style.display = &#39;none&#39;;\n        \/\/ \u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u7d42\u4e86\n        clearInterval(nowLoading);\n      }, 300);\n    }\n  }\n}, 50);<\/code><\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"setinterval%e3%81%ae%e6%99%82%e9%96%93%e8%a8%ad%e5%ae%9a\"><\/span>setInterval\u306e\u6642\u9593\u8a2d\u5b9a<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>setInterval\u306f\u4e00\u5b9a\u6642\u9593\u3054\u3068\u306b\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3059\u306e\u3060\u304c\u3001\u4eca\u56de\u306f\u6700\u5f8c\u306e\u884c\u306e\u300c50\u300d\u3068\u3044\u3046\u6570\u5b57\u30670.05\u79d2\u3054\u3068\u306b\u884c\u3046\u3088\u3046\u8a2d\u5b9a\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u540c\u3058\u30da\u30fc\u30b8\u30922\u56de\u76ee\u4ee5\u964d\u306b\u8aad\u307f\u8fbc\u3093\u3067\u3044\u3066\u3001\u753b\u50cf\u306e\u5c65\u6b74\u3082\u6b8b\u3063\u3066\u3044\u308b\u305f\u3081\u901f\u304f\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u753b\u9762\u306e\u8868\u793a\u304c\u7d42\u308f\u3063\u3066\u3057\u307e\u3046\u3068\u3044\u3046\u72b6\u6cc1\u306b\u3082\u5bfe\u5fdc\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%e3%83%aa%e3%82%a2%e3%83%ab%e3%82%bf%e3%82%a4%e3%83%a0%e3%81%a7%e8%aa%ad%e3%81%bf%e8%be%bc%e3%82%93%e3%81%a7%e3%81%84%e3%82%8b%e3%83%91%e3%83%bc%e3%82%bb%e3%83%b3%e3%83%88%e3%82%92%e5%8f%96%e5%be%97%e3%81%99%e3%82%8b\"><\/span>\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8aad\u307f\u8fbc\u3093\u3067\u3044\u308b\u30d1\u30fc\u30bb\u30f3\u30c8\u3092\u53d6\u5f97\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>if\u3067baseCounting &lt;= imgCounting\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001baseCounting\u306e\u6570\u5b57\u304cimgCounting\u3088\u308a\u5927\u304d\u304f\u306a\u3089\u306a\u3044\u6761\u4ef6\u4e0b\u3067\u767a\u706b\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>current\u306bMath.floor(baseCounting \/ images.length * 100)\u3092\u4ee3\u5165\u3059\u308b\u3002images.length\u306f\u4eca\u56de\u306f100\u306b\u306a\u308b\u305f\u3081\u3001\u8a08\u7b97\u3059\u308b\u3068\u300c1\u30012\u30013\u30014\u2026\u300d\u3068\u5024\u304c\u5165\u308b\u3088\u3046\u306b\u306a\u308b\u3002Math.floor\u306f\u5c0f\u6570\u70b9\u4ee5\u4e0b\u306e\u6570\u5b57\u3092\u5207\u308a\u6368\u3066\u308b\u3068\u3044\u3046\u610f\u5473\u306b\u306a\u308b\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u5024\u304cpercentNumber.innerHTML\u306b\u5bfe\u3057\u3066current\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001html\u5074\u306b\u6570\u5b57\u304c\u5165\u308b\u3088\u3046\u306b\u306a\u308b\u3002html\u5074\u306b\u6570\u5b57\u3092\u5165\u308c\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u306f\u3053\u3053\u3067\u6570\u5b57\u3092\u5165\u308c\u305f\u304b\u3063\u305f\u305f\u3081\u3060\u3002<\/p>\n\n\n\n<p>\u7d9a\u3044\u3066\u3001\u6a2a\u68d2\u306e\u30b2\u30fc\u30b8\u306b\u3082\u4f3c\u305f\u3088\u3046\u306a\u3053\u3068\u3092\u3057\u306a\u304f\u3066\u306f\u306a\u3089\u306a\u3044\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%e3%83%aa%e3%82%a2%e3%83%ab%e3%82%bf%e3%82%a4%e3%83%a0%e3%81%a7%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%be%e3%82%8c%e3%82%8b%e3%82%b2%e3%83%bc%e3%82%b8%e9%83%a8%e5%88%86%e3%82%92%e5%8f%8d%e6%98%a0%e3%81%95%e3%81%9b%e3%82%8b\"><\/span>\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8aad\u307f\u8fbc\u307e\u308c\u308b\u30b2\u30fc\u30b8\u90e8\u5206\u3092\u53cd\u6620\u3055\u305b\u308b<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>loadingGauge.style.width\u3067html\u30bd\u30fc\u30b9\u306bCSS\u3092\u53cd\u6620\u3055\u305b\u308b\u3002Math.floor(gaugeWidth \/ 100 * current) + \u2018%\u2019\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u30b2\u30fc\u30b8\u306e\u5168\u4f53\u5e45\u3092100\u7b49\u5206\u3057\u3066\u304b\u3089\u73fe\u5728\u306e\u8aad\u307f\u8fbc\u3093\u3067\u3044\u308b\u6570\u5024\u3092\u304b\u3051\u3066\u3044\u304f\u3053\u3068\u306b\u306a\u308b\u306e\u3067\u3001\u30b2\u30fc\u30b8\u5168\u4f53\u306b\u5bfe\u3057\u3066\u3069\u306e\u304f\u3089\u3044\u306e\u5272\u5408\u307e\u3067\u8aad\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u304b\u304c\u8a08\u7b97\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u3001\u305d\u308c\u304c\u30da\u30fc\u30b8\u4e0a\u306b\u53cd\u6620\u3055\u308c\u3066\u3044\u304f\u3088\u3046\u306b\u306a\u308b\u3002\u4eca\u56de\u306f%\u3092\u3064\u3051\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u5fd8\u308c\u306a\u3044\u3088\u3046\u6ce8\u610f\u3057\u3088\u3046\u3002<\/p>\n\n\n\n<p>\u3042\u3068\u306fbaseCounting += 1\u306b\u3088\u3063\u3066\u3001\u5024\u306f\u4e0a\u9650\u306b\u9054\u3059\u308b\u307e\u3067\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u304c\u884c\u308f\u308c\u308b\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%e5%85%a8%e3%81%a6%e8%aa%ad%e3%81%bf%e8%be%bc%e3%82%93%e3%81%a0%e6%99%82%e3%81%ae%e5%87%a6%e7%90%86\"><\/span>\u5168\u3066\u8aad\u307f\u8fbc\u3093\u3060\u6642\u306e\u51e6\u7406<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>if\u6587\u3067baseCounting === images.length\u306b\u3088\u308a\u3001\u6570\u304c\u5b8c\u5168\u4e00\u81f4\u3057\u305f\u6642\u306bsetTimeout\u3092\u4f7f\u3063\u3066\u3001\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u753b\u9762\u5168\u4f53\u306e\u975e\u8868\u793a\u3068\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u7d42\u4e86\u306e\u51e6\u7406\u3092\u3057\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>setTimeout\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u306f\u3001\u30da\u30fc\u30b8\u306e\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u304c100\u30d1\u30fc\u30bb\u30f3\u30c8\u307e\u3067\u6765\u305f\u3068\u304d\u306b\u3059\u3050\u306b\u6d88\u3048\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u3060\u3002\u3053\u308c\u3092\u6307\u5b9a\u3057\u306a\u3044\u3068100\u30d1\u30fc\u30bb\u30f3\u30c8\u306b\u5230\u9054\u3059\u308b\u6bb5\u968e\u3067\u3059\u3050\u306b\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u753b\u9762\u304c\u6d88\u3048\u3066\u3057\u307e\u3046\u3002\u72b6\u6cc1\u306b\u5fdc\u3058\u3066\u4f7f\u3044\u5206\u3051\u3066\u3044\u3063\u305f\u65b9\u304c\u3088\u3055\u305d\u3046\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<p>loadingArea.style.display\u306bnone\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u8aad\u307f\u8fbc\u307f\u7d42\u4e86\u6642\u306b\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u753b\u9762\u304c\u6d88\u3048\u3001clearInterval(nowLoading)\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001setInterval\u306e\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3092\u30b9\u30c8\u30c3\u30d7\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3067\u5b9f\u88c5\u5b8c\u4e86\u3060\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u306fJavaScript\u3092\u7528\u3044\u3066\u3001\u30d1\u30fc\u30bb\u30f3\u30c8\u306e\u6570\u5024\u3068\u30b2\u30fc\u30b8\u304c\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8aad\u307f\u8fbc\u307e\u308c\u3066\u3044\u304f\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u753b\u9762\u3092\u5b9f\u88c5\u3057\u3066\u307f\u308b\u3002<\/p>\n","protected":false},"author":1,"featured_media":627,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,33,34,36,42],"tags":[],"class_list":["post-625","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web","category-html","category-css","category-javascript","category-42"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/posts\/625"}],"collection":[{"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=625"}],"version-history":[{"count":4,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/posts\/625\/revisions"}],"predecessor-version":[{"id":690,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/posts\/625\/revisions\/690"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/media\/627"}],"wp:attachment":[{"href":"https:\/\/freefuntimes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}