{"id":1475,"date":"2021-01-11T17:27:57","date_gmt":"2021-01-11T17:27:57","guid":{"rendered":"http:\/\/www.danielbark.de\/?page_id=1475"},"modified":"2023-08-19T20:30:57","modified_gmt":"2023-08-19T20:30:57","slug":"audio-button","status":"publish","type":"page","link":"https:\/\/www.danielbark.de\/english\/audio-button","title":{"rendered":"Audio Button"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"1475\" class=\"elementor elementor-1475\">\n\t\t\t\t\t\t<header class=\"elementor-section elementor-top-section elementor-element elementor-element-62f88f0 elementor-section-full_width elementor-section-height-default elementor-section-height-default wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no\" data-id=\"62f88f0\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9ff4ac8\" data-id=\"9ff4ac8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5f60e94 elementor-widget elementor-widget-html\" data-id=\"5f60e94\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div id=\"pendulumMainDiv\">\n        \n<\/div>\n    \n<style>\n    #pendulumMainDiv {\n    width: 100px; \/* Urspr\u00fcngliche Breite der UI *\/\n    height: 150px; \/* Urspr\u00fcngliche H\u00f6he der UI *\/\n    transform-origin: 0 0; \/* Ursprung der Transformation *\/\n    background-color: black;\n    margin: 0px;\n    padding: 0px;\n}\n\n#activateJavascript{\n    top: 50%;\n    width: 100%;\n    text-align: center;\n    font-size: 2.5vw;\n    position: absolute;\n}\n<\/style>\n\n<script>\n    function scaleUI() {\n    const ui = document.querySelector('#pendulumMainDiv');\n    let scaleFactor = Math.min(\n      ui.parentNode.clientWidth \/ 1000, \/\/ Maximal 1000px breit\n      window.innerHeight \/ 1500  \/\/ Maximal 800px hoch\n    );\n    ui.style.transform = `scale(${scaleFactor})`;\n  }\n  \n  \/\/window.addEventListener('resize', scaleUI);\n  \/\/window.addEventListener('load', scaleUI);\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/header>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"off","ocean_display_header":"off","ocean_header_style":"","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"off","ocean_display_footer_bottom":"off","ocean_custom_footer_template":"0","footnotes":""},"class_list":["post-1475","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/www.danielbark.de\/english\/wp-json\/wp\/v2\/pages\/1475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.danielbark.de\/english\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.danielbark.de\/english\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.danielbark.de\/english\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.danielbark.de\/english\/wp-json\/wp\/v2\/comments?post=1475"}],"version-history":[{"count":388,"href":"https:\/\/www.danielbark.de\/english\/wp-json\/wp\/v2\/pages\/1475\/revisions"}],"predecessor-version":[{"id":2896,"href":"https:\/\/www.danielbark.de\/english\/wp-json\/wp\/v2\/pages\/1475\/revisions\/2896"}],"wp:attachment":[{"href":"https:\/\/www.danielbark.de\/english\/wp-json\/wp\/v2\/media?parent=1475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}