{"id":10,"date":"2026-09-09T12:44:22","date_gmt":"2026-09-09T12:44:22","guid":{"rendered":"https:\/\/dev-azhir.absinformatyk.pl\/index.php\/menu\/"},"modified":"2026-09-09T12:44:22","modified_gmt":"2026-09-09T12:44:22","slug":"menu","status":"publish","type":"page","link":"https:\/\/dev-azhir.absinformatyk.pl\/index.php\/menu\/","title":{"rendered":"Menu"},"content":{"rendered":"\t\t<style>\n\t\t\t#absposToast {\n              visibility: hidden;\n              min-width: 250px;\n              max-width: 250px;\n              margin-left: -125px;\n              background-color: green;\n              color: #fff;\n              text-align: center;\n              border-radius: 2px;\n              padding: 16px;\n              position: fixed;\n              z-index: 999999;\n              left: 50%;\n              bottom: 40px;\n              display: inline-flex;\n             \n              box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n              \n            }\n\n                #absposToast.show { visibility: visible;\n                  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;\n                  animation: fadein 0.5s, fadeout 0.5s 2.5s;\n                }\n                \n                #absposToast.show.success { \n                  background: green;\n                }\n                \n                  #absposToast.show.warning { \n                  background: orange;\n                }\n                \n                  #absposToast.show.error { \n                  background: red;\n                }\n                \n                @-webkit-keyframes fadein {\n                  from { bottom: 0; opacity: 0; }\n                  to { bottom: 40px; opacity: 1; }\n                }\n                \n                @keyframes fadein {\n                  from { bottom: 0; opacity: 0; }\n                  to { bottom: 40px; opacity: 1; }\n                }\n                \n                @-webkit-keyframes fadeout {\n                  from { bottom: 40px; opacity: 1; }\n                  to { bottom: 0; opacity: 0; }\n                }\n                \n                @keyframes fadeout {\n                  from { bottom: 40px; opacity: 1; }\n                  to { bottom: 0; opacity: 0; }\n                }\n\n\n\t\t\t#parent-cart-button {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\tz-index: 999999;\n\t\t\t    overflow: visible;\n\t\t\t    visibility: hidden;\n\t\t\t\tposition:fixed;\n\t\t\t\twidth:60px;\n\t\t\t\theight:60px;\n\t\t\t\tbottom: 40px;\n\t\t\t\tright: 40px;\n\t\t\t\tbackground-color:#009606 !important;\n\t\t\t\tcolor:#FFF;\n\t\t\t\tborder-radius:50px;\n\t\t\t\ttext-align:center;\n\t\t\t\tbox-shadow: 2px 2px 3px #999;\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: center;\n\t\t\t\talign-items: center;\n                box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n                transition: transform 0.2s ease-in-out;\n\t\t\t}\n\n\t\t\t#parent-cart-button svg {\n\t\t\t\tmin-width: 24px;\n\t\t\t\tfill: white;\n\t\t\t}\n\n\t\t\t#parent-cart-button .badge {\n\t\t\t\t\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\ttop: -5px;\n\t\t\t\t\tright: -5px;\n\t\t\t\t\tbackground-color: red;\n\t\t\t\t\tcolor: #fff;\n\t\t\t\t\tborder-radius: 50%;\n\t\t\t\t\theight: 20px;\n\t\t\t\t\twidth: 20px;\n\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: center;\n\t\t\t\talign-items: center;\n\t\t\t\tvisibility: hidden;\n\t\t\t\t\t\n\t\t\t\t  }\n\n\t\t\t#parent-cart-button:hover {\n\t\t\ttransform: scale(1.1);\n\t\t\t}\n\t\t<\/style><style>#wp_abspos_widget1 { min-height: 200px !important; padding-top: 60px }<\/style><div id=\"abspos_menu_widget_wrapper\"><iframe loading=\"lazy\" id=\"wp_abspos_widget1\" name=\"wp_abspos_widget1\" src=\"https:\/\/widget2.abspos.pl\/local\/azhir?theme=default\" width=\"100%\" height=\"100%\" title=\"Menu\"><\/iframe><div style=\"text-align:right\"><span style=\"font-size:10px\">System dostarczy\u0142:<\/span> <a href=\"https:\/\/abspos.pl\" style=\"font-size:10px\">ABSPOS<\/a><\/div><\/div><script>iFrameResize({ log: false }, '#wp_abspos_widget1')<\/script>            <script>\n            document.addEventListener(\"DOMContentLoaded\", function() {\n                \n                \n                \n\n          \n\n              function createNotifyContrainer() {\n                  var absposToast = document.createElement(\"div\");\n                    absposToast.id = \"absposToast\";\n                    document.body.appendChild(absposToast);\n              }\n              function createButton() {\n                  \n                    var button = document.createElement(\"button\");\n                    button.id = \"parent-cart-button\";\n                    button.className = \"floating-btn\";\n                    \n                  \n                    var svg = document.createElementNS(\"http:\/\/www.w3.org\/2000\/svg\", \"svg\");\n                    svg.setAttribute(\"xmlns\", \"http:\/\/www.w3.org\/2000\/svg\");\n                    svg.setAttribute(\"height\", \"48\");\n                    svg.setAttribute(\"viewBox\", \"0 0 24 24\");\n                    svg.setAttribute(\"width\", \"24\");\n                    \n                  \n                    var path1 = document.createElementNS(\"http:\/\/www.w3.org\/2000\/svg\", \"path\");\n                    path1.setAttribute(\"d\", \"M0 0h24v24H0z\");\n                    path1.setAttribute(\"fill\", \"none\");\n                    \n                   \n                    var path2 = document.createElementNS(\"http:\/\/www.w3.org\/2000\/svg\", \"path\");\n                    path2.setAttribute(\"d\", \"M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z\");\n                    path2.setAttribute(\"fill\", \"currentColor\");\n                    \n                  \n                    svg.appendChild(path1);\n                    svg.appendChild(path2);\n                    \n                  \n                    var badge = document.createElement(\"span\");\n                    badge.className = \"badge\";\n                    badge.id = \"cart-count\";\n                    badge.textContent = \"1\";\n                    \n             \n                    button.appendChild(svg);\n                    button.appendChild(badge);\n                    \n                  \n                    document.body.appendChild(button);\n              }\n\t\t\t  function toggleShowButton(counter, show) {\n\t\t\t  \n\t\t\t    if(!counter || !show) {\n\t\t\t\t\t\tcartCounter.innerText=\"0\";\n\t\t\t\t\t\tcartCounter.style.visibility=\"hidden\";\n\t\t\t\t\t\tsendMessageBtn.style.visibility=\"hidden\";\n\t\t\t\t\t} \n\t\t\t\t\telse {\n\t\t\t\t\t\t\tcartCounter.innerText=counter ? counter : 0\n\t\t\t\t\t\t\tcartCounter.style.visibility=\"visible\";\n\t\t\t\t\t\t\tsendMessageBtn.style.visibility=\"visible\";\n\t\t\t\t\t\t}\n\t\t\t\t}\n                \n                function sendHideButtonMessage() {\n\t\t\t\t\tvar message = 'iframe-connected';\n\t\t\t\t\tmyIframe.contentWindow.postMessage(message, \"*\");\n\t\t\t\t}\n\n                \n              createButton();\n              createNotifyContrainer();\n\t\t\t  var shouldShow = true;\n              var timeoutId = null;\n\t\t\t  var count = 0;\n              \/\/ Get the button and iframe elements by their IDs\n              var sendMessageBtn = document.getElementById(\"parent-cart-button\");\n              var myIframe = document.getElementById(\"wp_abspos_widget1\");\n\t\t\t  var cartCounter = document.getElementById(\"cart-count\");\n\t\t\t\t\n\t\t\t\n              sendMessageBtn.addEventListener(\"click\", function() {\n                var message = 'toggle-cart';\n                myIframe.contentWindow.postMessage(message, \"*\");\n\t\t\t\tmyIframe.scrollIntoView({ behavior: \"smooth\", block: \"start\" });\n              });\n            \n              window.addEventListener(\"message\", function(event) {\n                 \n                iFrameResize({ log: true }, '#wp_abspos_widget1')\n\t\t\t\tif(event.data && event.data.type===\"cart-count\") {\n\t\t\t\t\tcount = event.data.value;\n\t\t\t\t}\n\n\t\t\t\tif(event.data && event.data.type===\"should-show-cart-button\") {\n\t\t\t\t\tshouldShow = event.data.value;\n\t\t\t\t}\n                \n                if(event.data && event.data.type===\"notification\"){\n                      clearTimeout(timeoutId);\n                      var toast = document.getElementById(\"absposToast\");\n                    \n                      toast.className = \"show \" + event.data.notificationType;\n                      toast.textContent = event.data.value;\n                      \/\/ After 3 seconds, remove the show class from DIV\n                      timeoutId = setTimeout(function(){toast.className=\"\" }, 2000);\n                }\n\n           \n\t\t\t\tsendHideButtonMessage();\n\t\t\t\ttoggleShowButton(count, shouldShow);\n\n              });\n            });\n            <\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-templates\/zamowienia.php","meta":{"footnotes":""},"class_list":["post-10","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/dev-azhir.absinformatyk.pl\/index.php\/wp-json\/wp\/v2\/pages\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev-azhir.absinformatyk.pl\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dev-azhir.absinformatyk.pl\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dev-azhir.absinformatyk.pl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev-azhir.absinformatyk.pl\/index.php\/wp-json\/wp\/v2\/comments?post=10"}],"version-history":[{"count":0,"href":"https:\/\/dev-azhir.absinformatyk.pl\/index.php\/wp-json\/wp\/v2\/pages\/10\/revisions"}],"wp:attachment":[{"href":"https:\/\/dev-azhir.absinformatyk.pl\/index.php\/wp-json\/wp\/v2\/media?parent=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}