{"id":2204,"date":"2024-06-12T00:18:59","date_gmt":"2024-06-11T15:18:59","guid":{"rendered":"https:\/\/www.earce.biz\/?page_id=2204"},"modified":"2024-06-12T01:26:26","modified_gmt":"2024-06-11T16:26:26","slug":"tool-display-dot-checker","status":"publish","type":"page","link":"https:\/\/www.earce.biz\/?page_id=2204","title":{"rendered":"[Tool] Display Dot Checker"},"content":{"rendered":"\n<p class=\"has-text-align-center wp-block-paragraph\">&lt;&lt; This service is not communicating with the server. &gt;&gt;<\/p>\n\n\n\n<script type=\"text\/javascript\">\nlet imagelist4x3 = [\n  \"\/pub\/image\/DisplayDotCheck_R_QUXGA.svg\",\n  \"\/pub\/image\/DisplayDotCheck_G_QUXGA.svg\",\n  \"\/pub\/image\/DisplayDotCheck_B_QUXGA.svg\",\n  \"\/pub\/image\/DisplayDotCheck_W_QUXGA.svg\"\n];\nlet imagelist16x9 = [\n  \"\/pub\/image\/DisplayDotCheck_R.svg\",\n  \"\/pub\/image\/DisplayDotCheck_G.svg\",\n  \"\/pub\/image\/DisplayDotCheck_B.svg\",\n  \"\/pub\/image\/DisplayDotCheck_W.svg\"\n];\n\nlet imagelist = imagelist16x9;\n\nlet imageIndex = 0;\n\njQuery().ready(function($){\n\n\n$(\"#button1\").click(\n  (e) => {\n    let rate = Math.floor((screen.width \/ screen.height) * 1000);\n    if (rate==1777) {\n      imagelist = imagelist16x9;\n    } else {\n      imagelist = imagelist4x3;\n    }\n    imageboard.src = imagelist[imageIndex];\n    dotchecker.requestFullscreen();\n  }\n);\n\n$(\"#dotchecker\").click(\n  (e) => {\n    imageIndex = (imageIndex + 1) % imagelist.length;\n    imageboard.src = imagelist[imageIndex];\n    if (imageIndex==0) {\n      document.exitFullscreen();\n      imageboard.src = \"\";\n    }\n  }\n);\n\n});\n<\/script>\n\n\n\n<div class=\"wp-block-button aligncenter custom-wide-button\">\n<button id=\"button1\" class=\"wp-block-button__link has-background has-vivid-cyan-blue-background-color\">Check Display Dot<\/button>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div id=\"dotchecker\">\n<img decoding=\"async\" id=\"imageboard\" src=\"\" \/>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&lt;&lt; This service is not communicating with the server. &gt;&gt; Check Display Dot<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":35,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2204","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.earce.biz\/index.php?rest_route=\/wp\/v2\/pages\/2204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.earce.biz\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.earce.biz\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.earce.biz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.earce.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2204"}],"version-history":[{"count":36,"href":"https:\/\/www.earce.biz\/index.php?rest_route=\/wp\/v2\/pages\/2204\/revisions"}],"predecessor-version":[{"id":2243,"href":"https:\/\/www.earce.biz\/index.php?rest_route=\/wp\/v2\/pages\/2204\/revisions\/2243"}],"up":[{"embeddable":true,"href":"https:\/\/www.earce.biz\/index.php?rest_route=\/wp\/v2\/pages\/35"}],"wp:attachment":[{"href":"https:\/\/www.earce.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}