{"id":3964,"date":"2025-04-30T11:56:11","date_gmt":"2025-04-30T09:56:11","guid":{"rendered":"https:\/\/runway34.ch\/?page_id=3964"},"modified":"2026-09-07T10:23:27","modified_gmt":"2026-09-07T08:23:27","slug":"menu-kids","status":"publish","type":"page","link":"https:\/\/runway34.ch\/fr\/menu-kids\/","title":{"rendered":"Menu-Enfants"},"content":{"rendered":"\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/pdf.js\/2.10.377\/pdf.min.js\"><\/script>\n\n\n<!DOCTYPE html>\n<html lang=\"de\">\n<head>\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n  <style>\n    #pdf-container {\n      width: 100%;\n      height: 100%;\n      overflow-y: scroll;\n    }\n   .pdf-page {\n      width: 100%;\n      \n    }\n \n  <\/style>\n<\/head>\n<body>\n  <div id=\"pdf-container\"><\/div>\n\n  <script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/pdf.js\/2.10.377\/pdf.min.js\"><\/script>\n  <script>\n    const url = 'https:\/\/runway34.ch\/dokumente\/RW34-Kinderkarte.pdf';  \/\/ URL deines PDF-Dokuments\n\n    const pdfjsLib = window['pdfjs-dist\/build\/pdf'];\n    pdfjsLib.GlobalWorkerOptions.workerSrc = 'https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/pdf.js\/2.10.377\/pdf.worker.min.js';\n\n    \/\/ Das PDF-Dokument laden\n    pdfjsLib.getDocument(url).promise.then(function(pdfDoc) {\n      const pdfContainer = document.getElementById('pdf-container');\n      \n      \/\/ Jede Seite des PDFs laden und anzeigen\n      for (let pageNum = 1; pageNum <= pdfDoc.numPages; pageNum++) {\n        pdfDoc.getPage(pageNum).then(function(page) {\n          const scale = 1.5;  \/\/ Zoom-Faktor\n          const viewport = page.getViewport({ scale: scale });\n\n          \/\/ Ein Canvas f\u00fcr jede Seite erstellen\n          const canvas = document.createElement('canvas');\n          canvas.className = 'pdf-page';\n          const context = canvas.getContext('2d');\n          canvas.height = viewport.height;\n          canvas.width = viewport.width;\n          \n          \/\/ PDF-Seite auf das Canvas rendern\n          const renderContext = {\n            canvasContext: context,\n            viewport: viewport\n          };\n          page.render(renderContext);\n\n          \/\/ Jede Seite in den Container einf\u00fcgen\n          pdfContainer.appendChild(canvas);\n        });\n      }\n    });\n  <\/script>\n<\/body>\n<\/html>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns is-not-stacked-on-mobile is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><input type=\"button\" value=\"retour...\" class=\"alg_back_button_input \" style=\"\" onclick=\"window.history.back()\" \/>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_citadela_hide_page_title":"1","_citadela_remove_header_space":"","_citadela_custom_class":"","_citadela_half_map_provider":"","_citadela_half_map_theme":"","_citadela_half_map_themeOSM":"","_citadela_half_map_customTheme":"","_citadela_half_map_dataType":"","_citadela_half_map_dynamicTrack":false,"_citadela_half_map_trackColor":"","_citadela_half_map_trackEndpointsColor":"","_citadela_half_map_filterCategory":"","_citadela_half_map_filterLocation":"","_citadela_half_map_filterFeatured":false,"_citadela_half_map_noDataBehavior":"empty-map","_citadela_half_map_noDataText":"","_citadela_half_map_clusterGridSize":80,"_citadela_header":false,"_citadela_header_over_content":false,"_citadela_header_text_color":"","_citadela_header_logo":[],"_citadela_header_bg_image":[],"_citadela_header_bg_position":{"x":0.5,"y":0.5},"_citadela_header_bg_size":"cover","_citadela_header_bg_repeat":"no-repeat","_citadela_header_bg_fixed":false,"_citadela_header_bg_color":"","_citadela_header_bg_image_overlay":"","_citadela_header_transparent_bg":false,"_citadela_content_width":"full","_citadela_half_layout_position":"","footnotes":""},"class_list":["post-3964","page","type-page","status-publish","hentry"],"featured_image_src":"","featured_image_src_square":false,"rbea_author_info":{"display_name":"infoyo9","author_link":"https:\/\/runway34.ch\/fr\/author\/infoyo9\/"},"rbea_excerpt_info":null,"_links":{"self":[{"href":"https:\/\/runway34.ch\/fr\/wp-json\/wp\/v2\/pages\/3964","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/runway34.ch\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/runway34.ch\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/runway34.ch\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/runway34.ch\/fr\/wp-json\/wp\/v2\/comments?post=3964"}],"version-history":[{"count":3,"href":"https:\/\/runway34.ch\/fr\/wp-json\/wp\/v2\/pages\/3964\/revisions"}],"predecessor-version":[{"id":4758,"href":"https:\/\/runway34.ch\/fr\/wp-json\/wp\/v2\/pages\/3964\/revisions\/4758"}],"wp:attachment":[{"href":"https:\/\/runway34.ch\/fr\/wp-json\/wp\/v2\/media?parent=3964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}