{"id":65,"date":"2025-08-06T12:07:09","date_gmt":"2025-08-06T12:07:09","guid":{"rendered":"https:\/\/www.nayttely.fi\/laskin\/?page_id=65"},"modified":"2025-08-17T11:03:20","modified_gmt":"2025-08-17T11:03:20","slug":"ripustuskorkeuslaskin","status":"publish","type":"page","link":"https:\/\/www.nayttely.fi\/laskin\/ripustuskorkeuslaskin\/","title":{"rendered":"Ripustuskorkeus"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\" style=\"margin-top:var(--wp--preset--spacing--30);margin-bottom:var(--wp--preset--spacing--30)\"><img loading=\"lazy\" decoding=\"async\" width=\"744\" height=\"562\" src=\"https:\/\/www.nayttely.fi\/laskin\/wp-content\/uploads\/2025\/08\/Ripustuslaskin2-3.png\" alt=\"\" class=\"wp-image-95\" srcset=\"https:\/\/www.nayttely.fi\/laskin\/wp-content\/uploads\/2025\/08\/Ripustuslaskin2-3.png 744w, https:\/\/www.nayttely.fi\/laskin\/wp-content\/uploads\/2025\/08\/Ripustuslaskin2-3-300x227.png 300w\" sizes=\"auto, (max-width: 744px) 100vw, 744px\" \/><\/figure>\n\n\n\n<!DOCTYPE html>\n<html lang=\"fi\">\n<head>\n  <meta charset=\"UTF-8\">\n  <style>\n    body {\n      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n      background-color: #f4f4f4;\n      margin: 0;\n      padding: 15px;\n    }\n    .container {\n      max-width: 612px;\n      margin: auto;\n      background: white;\n      padding: 30px;\n      border-radius: 8px;\n      box-shadow: 0 0 10px rgba(0,0,0,0.1);\n    }\n    h1 {\n      text-align: center;\n      color: #333;\n    }\n    label {\n      display: block;\n      margin-top: 15px;\n      font-weight: bold;\n    }\n    input[type=\"number\"] {\n      width: 100%;\n      padding: 10px;\n      margin-top: 5px;\n      box-sizing: border-box;\n      border: 1px solid #ccc;\n      border-radius: 4px;\n    }\n    .frame-widths input {\n      margin-bottom: 10px;\n    }\n    .radio-group {\n      margin-top: 20px;\n    }\n    .radio-group label {\n      font-weight: normal;\n      margin-right: 15px;\n    }\n    button {\n      margin-top: 20px;\n      padding: 12px 20px;\n      background-color:#bbbbbb;\n      color: white;\n      border: 1px solid #9a9a9a;\n      border-radius: 4px;\n      cursor: pointer;\n      font-size: 16px;\n    }\n    button:hover {\n      background-color: #005fa3;\n    }\n    #result {\n      margin-top: 20px;\n      font-weight: bold;\n      color: #333;\n    }\n  <\/style>\n<\/head>\n<body>\n    <div class=\"container\">\n        <div class=\"form-container\">\n            <div class=\"form-group\">\n                <label for=\"h\">1. Anna keskikorkeus<\/label>\n                <input type=\"number\" id=\"h\" placeholder=\"1.\">\n            <\/div>\n            <div class=\"form-group\">\n                <label for=\"k\">2. Anna kehyksen korkeus<\/label>\n                <input type=\"number\" id=\"k\" placeholder=\"2.\">\n            <\/div>\n            <div class=\"form-group\">\n                <label for=\"r\">3. Anna ripustuspisteen et\u00e4isyys kehyksen yl\u00e4reunasta<\/label>\n                <input type=\"number\" id=\"r\" placeholder=\"3.\">\n            <\/div>\n            <button onclick=\"laskeTulos()\">Laske<\/button>\n            <div class=\"result\" id=\"tulos\"><\/div>\n        <\/div>\n    <\/div>\n\n    <script>\n        function laskeTulos() {\n            const h = parseFloat(document.getElementById('h').value);\n            const k = parseFloat(document.getElementById('k').value);\n            const r = parseFloat(document.getElementById('r').value);\n\n            if (isNaN(h) || isNaN(k) || isNaN(r)) {\n                document.getElementById('tulos').innerText = \"Virhe: Sy\u00f6t\u00e4 kaikki arvot oikein!\";\n                return;\n            }\n\n            const tulos = h + (k \/ 2 - r);\n            document.getElementById('tulos').innerText = `Ripustuspiste lattiasta: ${tulos.toFixed(2)}`;\n        }\n    <\/script>\n<\/body>\n<\/html>\n\n\n\n<p>A.A. 2025<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Anna keskikorkeus 2. Anna kehyksen korkeus 3. Anna ripustuspisteen et\u00e4isyys kehyksen yl\u00e4reunasta Laske A.A. 2025<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-65","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.nayttely.fi\/laskin\/wp-json\/wp\/v2\/pages\/65","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nayttely.fi\/laskin\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.nayttely.fi\/laskin\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.nayttely.fi\/laskin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nayttely.fi\/laskin\/wp-json\/wp\/v2\/comments?post=65"}],"version-history":[{"count":13,"href":"https:\/\/www.nayttely.fi\/laskin\/wp-json\/wp\/v2\/pages\/65\/revisions"}],"predecessor-version":[{"id":132,"href":"https:\/\/www.nayttely.fi\/laskin\/wp-json\/wp\/v2\/pages\/65\/revisions\/132"}],"wp:attachment":[{"href":"https:\/\/www.nayttely.fi\/laskin\/wp-json\/wp\/v2\/media?parent=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}