{"id":12154,"date":"2024-11-11T15:40:27","date_gmt":"2024-11-11T14:40:27","guid":{"rendered":"https:\/\/in2theblue.com\/sailing-yacht-charter\/single\/"},"modified":"2026-09-10T10:21:18","modified_gmt":"2026-09-10T08:21:18","slug":"yacht","status":"publish","type":"page","link":"https:\/\/in2theblue.com\/en\/sailing-yacht-charter\/yacht\/","title":{"rendered":"Yacht"},"content":{"rendered":"No yacht name given.\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<script>\n\nconst params = new URLSearchParams(window.location.search);\nvar shipContentHasLoaded = false;\nvar yachtverkaufParam = false;\nfor (const [key, value] of params){\n  console.log(key, ': ', value);\nif (key==\"yachtverkauf\" && value==1) {\nyachtverkaufParam = true;\n}\n}\n\nconst delay = ms => new Promise(res => setTimeout(res, ms));\nconst sleepContentLoad = async () => {\n  await delay(1);\n  console.log(\"Waited 1s\");\n\n\/\/TODO real check for content has loaded;\nif (true) {\nshipContentHasLoaded = true;\nrestylePageForInvest();\n} else {\nsleepContentLoad();\n}\n};\n\nconst openSpecificationsYachtverkauf = async () => {\n  await delay(1000);\n  jQuery(document).ready(function($){\n    $(\".yacht-detail-container .yacht-content-column .accordion .accordion-header\").children(\":first\").click();\n  });\n};\n\n\nif (yachtverkaufParam) {\n  sleepContentLoad();\n  console.log(\"yachtverkauf was queried\");\n}\n\nconst restylePageForInvest = function() {\n \/\/ TODO CODE Restyling\nconsole.log('Invest-Restyling called');\njQuery(document).ready(function($){\n  $(\".yacht-detail-container .yacht-content-column\").find(\".accordion\").addClass(\"yachtverkaufParam\");\n  $(\".yacht-detail-container .yacht-content-column .accordion\").find(\".accordion-header\").addClass(\"yachtverkaufParam\");\n\n  $(\".yacht-detail-container .yacht-sidebar-column .yacht-sidebar-container\").find(\".yacht-free-periods\").addClass(\"yachtverkaufParam\");\n  $(\".yacht-detail-container .yacht-sidebar-column .yacht-sidebar-container\").find(\".i2tb_nausys-btn-turqouise\").addClass(\"yachtverkaufParam\");\n  $(\".yacht-detail-container .yacht-sidebar-column .yacht-sidebar-container\").find(\".yacht-name-summary\").addClass(\"yachtverkaufParam\");\n  $(\".yacht-detail-container .yacht-sidebar-column .yacht-sidebar-container\").find(\".yacht-dates\").addClass(\"yachtverkaufParam\");\n  $(\".yacht-detail-container .yacht-sidebar-column .yacht-sidebar-container\").find(\".pricing-column-split.bottomline\").addClass(\"yachtverkaufParam\");\n  $(\".yacht-detail-container .yacht-sidebar-column .yacht-sidebar-container\").find(\".pricing-column-split\").addClass(\"yachtverkaufParam\");\n  $(\".yacht-detail-container .yacht-sidebar-column .yacht-sidebar-container\").find(\".i2tb-nausys-btn-turqouise\").addClass(\"yachtverkaufParam\");\n\n  $(\".yacht-detail-container .yacht-sidebar-column .yacht-sidebar-container\").find(\"strong\").addClass(\"yachtverkaufParam\");\n  \n$(\".yacht-detail-container .yacht-sidebar-column .yacht-sidebar-container\").find(\".preis-summary\").html(\"YACHTVERKAUF <br\/>YOUR CONTACT\");\n$(\".yacht-detail-container .yacht-sidebar-column .yacht-sidebar-container\").append( \"<p>If you have any questions about our offers, please get in touch. We are happiest to look after you in person\" );\n$(\".yacht-detail-container .yacht-sidebar-column .yacht-sidebar-container\").append( \"<div class='blue_kontakt_inner'><div><img decoding='async' src='\/wp-content\/uploads\/julian-600x600.png'><\/script>","protected":false},"excerpt":{"rendered":"","protected":false},"author":14,"featured_media":0,"parent":11736,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_eb_attr":"","pgc_sgb_lightbox_settings":"","ocean_front_end_style_editor":"no","ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","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":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","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":"","ocean_menu_typo_font_family":"","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":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","footnotes":""},"class_list":["post-12154","page","type-page","status-publish","hentry","entry"],"acf":[],"_links":{"self":[{"href":"https:\/\/in2theblue.com\/en\/wp-json\/wp\/v2\/pages\/12154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/in2theblue.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/in2theblue.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/in2theblue.com\/en\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/in2theblue.com\/en\/wp-json\/wp\/v2\/comments?post=12154"}],"version-history":[{"count":5,"href":"https:\/\/in2theblue.com\/en\/wp-json\/wp\/v2\/pages\/12154\/revisions"}],"predecessor-version":[{"id":12499,"href":"https:\/\/in2theblue.com\/en\/wp-json\/wp\/v2\/pages\/12154\/revisions\/12499"}],"up":[{"embeddable":true,"href":"https:\/\/in2theblue.com\/en\/wp-json\/wp\/v2\/pages\/11736"}],"wp:attachment":[{"href":"https:\/\/in2theblue.com\/en\/wp-json\/wp\/v2\/media?parent=12154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}