{"id":96121,"date":"2025-03-26T09:00:00","date_gmt":"2025-03-26T00:00:00","guid":{"rendered":"https:\/\/www.library.pref.osaka.jp\/?page_id=96121"},"modified":"2025-05-04T09:08:28","modified_gmt":"2025-05-04T00:08:28","slug":"19%e4%b8%96%e7%b4%80%e3%80%80%e8%96%ac%e7%94%a8%e6%a4%8d%e7%89%a9%e3%81%ae%e4%b8%96%e7%95%8c-%e3%82%a2%e3%83%ab%e3%83%95%e3%82%a1%e3%83%99%e3%83%83%e3%83%88%e7%9b%ae%e6%ac%a1%e3%80%90a%e3%80%91_","status":"publish","type":"page","link":"https:\/\/www.library.pref.osaka.jp\/site\/oec\/plantae\/index-al.html","title":{"rendered":"19\u4e16\u7d00\u3000\u85ac\u7528\u690d\u7269\u306e\u4e16\u754c \u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u9806\u7d22\u5f15"},"content":{"rendered":"\n<h2 class=\"wp-block-heading has-text-align-center vk_block-margin-md--margin-top vk_custom_css_1\">19\u4e16\u7d00\u85ac\u7528\u690d\u7269\u306e\u4e16\u754c\u3000\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u9806\u7d22\u5f15<\/h2>\n\n\n\n<div id=\"index\"><\/div>\n<p class=\"vk_custom_css vk_block-margin-sm--margin-top vk_block-margin-sm--margin-bottom\">\u63b2\u8f09\u540d\uff08\u672c\u6587\u7de8\u306b\u63b2\u8f09\u3055\u308c\u3066\u3044\u308b\u690d\u7269\u540d\uff09\u306e\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u9806\u7d22\u5f15\u3067\u3059\u3002\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u8a73\u7d30\u753b\u9762\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<div id=\"result\"><\/div>\n<script language=\"javascript\">\n<!--\nconst url = \"https:\/\/www.library.pref.osaka.jp\/contents\/wp-content\/uploads\/yakuyou_data.json\";\t\/\/ JSON\u30d5\u30a1\u30a4\u30eb\u540d\nlet index;\nlet result;\nlet al;\n\n\/\/ \u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u76ee\u6b21\u306e\u8868\u793a\nfunction dispIndex(al){\n\tconst arr = ['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','Z'];\n\tlet j = 0;\n\tlet html = \"<center><div class='btn-group' role='group' aria-label='Basic radio toggle button group'>\";\n\t\n\tfor (i = 0; i < arr.length; i++) {\n\t\tj = i + 1;\n\t\tif(al === arr[i]){\n\t\t\thtml += \"<input type='radio' class='btn-check' name='btnradio' id='btnradio\" + j + \"' autocomplete='off' checked>\";\n\t\t\thtml += \"<label class='btn btn-outline-primary active' for='btnradio\" + j + \"'>\";\n\t\t\thtml += `<a href=.\/index-al.html?al=${arr[i]}>${arr[i]}<\/a>`;\n\t\t\thtml += \"<\/label>\";\n\t\t}else{\n\t\t\thtml += \"<input type='radio' class='btn-check' name='btnradio' id='btnradio\" + j + \"' autocomplete='off' checked>\";\n\t\t\thtml += \"<label class='btn btn-outline-primary' for='btnradio\" + j + \"'>\";\n\t\t\thtml += `<a href=.\/index-al.html?al=${arr[i]}>${arr[i]}<\/a>`;\n\t\t\thtml += \"<\/label>\";\n\t\t}\n\t}\n\t\n\thtml += \"<\/div><\/center>\";\n\thtml += \"<div style='text-align:right;font-size:120%'><a href=.\/index.html>\uff08\u300c19\u4e16\u7d00\u85ac\u7528\u690d\u7269\u306e\u4e16\u754c\u300d\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3078\u623b\u308b\uff09<\/a><\/div>\";\n\tindex.innerHTML = html;\n}\n\n\n\/\/ \u672c\u6587\u306e\u8868\u793a\nfunction formatJSON(data){\n\t\/\/ \u6574\u5f62\u3057\u3066\u8868\u793a\n\t\n\tlet filterResult = data.yakuyou.filter( function (value) {\n\t\treturn value.al.includes(al) ;\n\t})\n\t\n\tlet html = \"<figure class='wp-block-flexible-table-block-table is-content-justification-center'>\";\n\thtml += \"<table class='has-fixed-layout'>\";\n\thtml += \"<thead>\";\n\thtml += \"<tr>\";\n\thtml += \"<th style='background-color:#dbe2e7;text-align:center'><strong>\u30b5\u30e0\u30cd\u30a4\u30eb<\/strong><\/th>\";\n\thtml += \"<th style='background-color:#dbe2e7;text-align:center'><strong>\u63b2\u8f09\u540d<\/strong><\/th>\";\n\thtml += \"<th style='background-color:#dbe2e7;text-align:center'><strong>\u5b66\u540d<\/strong><\/th>\";\n\thtml += \"<th style='background-color:#dbe2e7;text-align:center'><strong>\u65e5\u672c\u8a9e\u540d<\/strong><\/th>\";\n\thtml += \"<th style='background-color:#dbe2e7;text-align:center'><strong>\u4e2d\u56fd\u8a9e\u540d<\/strong><\/th>\";\n\thtml += \"<\/tr>\";\n\thtml += \"<\/thead>\";\n\t\n\thtml += \"<tbody>\";\n\n\tfor(let ydata of filterResult){\n\t\thtml += \"<tr>\";\n\t\thtml += \"<td>\";\n\t\thtml += `<a href=https:\/\/da.library.pref.osaka.jp\/content\/detail\/${ydata.id}>`;\n\t\thtml += `<img decoding=async src=https:\/\/da.library.pref.osaka.jp\/api\/items\/${ydata.id}\/thumbnail.jpg?size=default alt='\u300cAbsinthium officinale\u300d\u306e\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf'><\/a>`;\n\t\thtml += \"<\/td>\";\n\t\thtml += `<td>${ydata.kn}<\/td>`;\n\t\thtml += `<td>${ydata.gn}<\/td>`;\n\t\thtml += `<td>${ydata.jn}<\/td>`;\n\t\thtml += `<td>${ydata.cn}<\/td>`;\n\t\thtml += \"<\/tr>\";\n\t}\n\thtml += \"<\/tbody><\/table><\/figure>\";\n\thtml += \"<div style='text-align:right;font-size:120%'><a href=.\/index.html>\uff08\u300c19\u4e16\u7d00\u85ac\u7528\u690d\u7269\u306e\u4e16\u754c\u300d\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3078\u623b\u308b\uff09<\/a><\/div>\";\n\tresult.innerHTML = html;\n}\n\n\n\n\/\/ \u8d77\u52d5\u6642\u306e\u51e6\u7406\nwindow.addEventListener(\"load\", ()=>{\n\t\/\/ JSON\u8868\u793a\u7528\n    index = document.getElementById(\"index\");\n    result = document.getElementById(\"result\");\n    \n    const params = (new URL(document.location)).searchParams;\n    al =  params.get('al');\n    dispIndex(al);\n    \n    \/\/ JSON\u30d5\u30a1\u30a4\u30eb\u3092\u53d6\u5f97\u3057\u3066\u8868\u793a\n\tfetch(url)\n\t\t.then( response => response.json())\n\t\t.then( data => formatJSON(data));\n\n\n});\n\n\/\/-->\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>19\u4e16\u7d00\u85ac\u7528\u690d\u7269\u306e\u4e16\u754c\u3000\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u9806\u7d22\u5f15 \u63b2\u8f09\u540d\uff08\u672c\u6587\u7de8\u306b\u63b2\u8f09\u3055\u308c\u3066\u3044\u308b\u690d\u7269\u540d\uff09\u306e\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u9806\u7d22\u5f15\u3067\u3059\u3002\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u8a73\u7d30\u753b\u9762\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":905,"featured_media":0,"parent":0,"menu_order":17,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_lmt_disableupdate":"","_lmt_disable":"yes","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"acf":[],"_links":{"self":[{"href":"https:\/\/www.library.pref.osaka.jp\/index.php?rest_route=\/wp\/v2\/pages\/96121"}],"collection":[{"href":"https:\/\/www.library.pref.osaka.jp\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.library.pref.osaka.jp\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.library.pref.osaka.jp\/index.php?rest_route=\/wp\/v2\/users\/905"}],"replies":[{"embeddable":true,"href":"https:\/\/www.library.pref.osaka.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=96121"}],"version-history":[{"count":108,"href":"https:\/\/www.library.pref.osaka.jp\/index.php?rest_route=\/wp\/v2\/pages\/96121\/revisions"}],"predecessor-version":[{"id":101909,"href":"https:\/\/www.library.pref.osaka.jp\/index.php?rest_route=\/wp\/v2\/pages\/96121\/revisions\/101909"}],"wp:attachment":[{"href":"https:\/\/www.library.pref.osaka.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=96121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}