{"id":469,"date":"2025-02-03T08:18:47","date_gmt":"2025-02-03T07:18:47","guid":{"rendered":"https:\/\/sekoly.mydatadigital.com\/?page_id=469"},"modified":"2025-02-05T14:00:47","modified_gmt":"2025-02-05T13:00:47","slug":"les-roches","status":"publish","type":"page","link":"https:\/\/sekoly.mydatadigital.com\/index.php\/les-roches\/","title":{"rendered":"Les roches"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"469\" class=\"elementor elementor-469\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4157519 e-flex e-con-boxed e-con e-parent\" data-id=\"4157519\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ac65c66 elementor-widget elementor-widget-html\" data-id=\"ac65c66\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"navigation-container\">\r\n    <button id=\"prev\" class=\"nav-button\">\u2b05\ufe0f Pr\u00e9c\u00e9dent<\/button>\r\n    <h2 id=\"rock-type\" class=\"nav-title\">Roches Magmatiques<\/h2>\r\n    <button id=\"next\" class=\"nav-button\">Suivant \u27a1\ufe0f<\/button>\r\n<\/div>\r\n\r\n<div id=\"dynamic-content\" class=\"content-container\">\r\n    <!-- Contenu charg\u00e9 dynamiquement ici -->\r\n<\/div>\r\n\r\n<style>\r\n    \/* Conteneur principal pour la navigation *\/\r\n.navigation-container {\r\n    display: flex;\r\n    justify-content: space-between;\r\n    align-items: center;\r\n    background-color: #f3f3f3;\r\n    padding: 10px;\r\n    border-radius: 8px;\r\n    margin-bottom: 20px;\r\n    max-width: 100%;\r\n    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\r\n}\r\n\r\n\/* Boutons Next\/Prev *\/\r\n.nav-button {\r\n    background-color: #007bff;\r\n    color: white;\r\n    border: none;\r\n    padding: 10px 15px;\r\n    cursor: pointer;\r\n    border-radius: 5px;\r\n    font-size: 14px;\r\n}\r\n\r\n.nav-button:hover {\r\n    background-color: #0056b3;\r\n}\r\n\r\n\/* Titre centr\u00e9 *\/\r\n.nav-title {\r\n    font-size: 18px;\r\n    font-weight: bold;\r\n    margin: 0;\r\n    text-align: center;\r\n}\r\n\r\n\/* Conteneur pour le contenu dynamique *\/\r\n.content-container {\r\n    padding: 20px;\r\n    background-color: white;\r\n    border-radius: 8px;\r\n    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\r\n}\r\n\r\n<\/style>\r\n<script>\r\n    \/\/ Liste des pages de contenu \u00e0 afficher\r\nconst pages = [\r\n    \"\/page-contenu-1\",  \/\/ URL compl\u00e8te ou relative\r\n    \"https:\/\/sekoly.mydatadigital.com\/index.php\/roches-volcaniques\/\",\r\n    \"https:\/\/sekoly.mydatadigital.com\/index.php\/roches-ignees\/\"\r\n];\r\n\r\nlet currentPageIndex = 0;\r\n\r\n\/\/ Fonction pour charger une page dans la zone dynamique\r\nasync function loadPage(url) {\r\n    const response = await fetch(url);\r\n    const content = await response.text();\r\n    const parser = new DOMParser();\r\n    const doc = parser.parseFromString(content, \"text\/html\");\r\n\r\n    \/\/ Remplissage du contenu en pr\u00e9servant la mise en page\r\n    const targetContent = doc.querySelector(\".site-content, .entry-content, main\"); \r\n    if (targetContent) {\r\n        document.getElementById(\"dynamic-content\").innerHTML = targetContent.innerHTML;\r\n    }\r\n}\r\n\r\n\/\/ Gestion des clics des boutons\r\ndocument.getElementById(\"prev\").addEventListener(\"click\", function () {\r\n    if (currentPageIndex > 0) {\r\n        currentPageIndex--;\r\n        loadPage(pages[currentPageIndex]);\r\n    }\r\n});\r\n\r\ndocument.getElementById(\"next\").addEventListener(\"click\", function () {\r\n    if (currentPageIndex < pages.length - 1) {\r\n        currentPageIndex++;\r\n        loadPage(pages[currentPageIndex]);\r\n    }\r\n});\r\n\r\n\/\/ Charger la premi\u00e8re page au d\u00e9marrage\r\nloadPage(pages[currentPageIndex]);\r\n\r\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-37e4810 e-flex e-con-boxed e-con e-parent\" data-id=\"37e4810\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5f4c6ad elementor-widget elementor-widget-html\" data-id=\"5f4c6ad\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<iframe src=\"https:\/\/votre-site.com\/page-cible\" width=\"100%\" height=\"600\" frameborder=\"0\" scrolling=\"auto\"><\/iframe>\r\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u2b05\ufe0f Pr\u00e9c\u00e9dent Roches Magmatiques Suivant \u27a1\ufe0f<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-469","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Les roches - G\u00c9OLOGIE DE MADAGASCAR<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sekoly.mydatadigital.com\/index.php\/les-roches\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Les roches - G\u00c9OLOGIE DE MADAGASCAR\" \/>\n<meta property=\"og:description\" content=\"\u2b05\ufe0f Pr\u00e9c\u00e9dent Roches Magmatiques Suivant \u27a1\ufe0f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sekoly.mydatadigital.com\/index.php\/les-roches\/\" \/>\n<meta property=\"og:site_name\" content=\"G\u00c9OLOGIE DE MADAGASCAR\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-05T13:00:47+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/sekoly.mydatadigital.com\/index.php\/les-roches\/\",\"url\":\"https:\/\/sekoly.mydatadigital.com\/index.php\/les-roches\/\",\"name\":\"Les roches - G\u00c9OLOGIE DE MADAGASCAR\",\"isPartOf\":{\"@id\":\"https:\/\/sekoly.mydatadigital.com\/#website\"},\"datePublished\":\"2025-02-03T07:18:47+00:00\",\"dateModified\":\"2025-02-05T13:00:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/sekoly.mydatadigital.com\/index.php\/les-roches\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/sekoly.mydatadigital.com\/index.php\/les-roches\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/sekoly.mydatadigital.com\/index.php\/les-roches\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/sekoly.mydatadigital.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Les roches\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/sekoly.mydatadigital.com\/#website\",\"url\":\"https:\/\/sekoly.mydatadigital.com\/\",\"name\":\"G\u00c9OLOGIE DE MADAGASCAR\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/sekoly.mydatadigital.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Les roches - G\u00c9OLOGIE DE MADAGASCAR","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sekoly.mydatadigital.com\/index.php\/les-roches\/","og_locale":"fr_FR","og_type":"article","og_title":"Les roches - G\u00c9OLOGIE DE MADAGASCAR","og_description":"\u2b05\ufe0f Pr\u00e9c\u00e9dent Roches Magmatiques Suivant \u27a1\ufe0f","og_url":"https:\/\/sekoly.mydatadigital.com\/index.php\/les-roches\/","og_site_name":"G\u00c9OLOGIE DE MADAGASCAR","article_modified_time":"2025-02-05T13:00:47+00:00","twitter_card":"summary_large_image","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/sekoly.mydatadigital.com\/index.php\/les-roches\/","url":"https:\/\/sekoly.mydatadigital.com\/index.php\/les-roches\/","name":"Les roches - G\u00c9OLOGIE DE MADAGASCAR","isPartOf":{"@id":"https:\/\/sekoly.mydatadigital.com\/#website"},"datePublished":"2025-02-03T07:18:47+00:00","dateModified":"2025-02-05T13:00:47+00:00","breadcrumb":{"@id":"https:\/\/sekoly.mydatadigital.com\/index.php\/les-roches\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sekoly.mydatadigital.com\/index.php\/les-roches\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/sekoly.mydatadigital.com\/index.php\/les-roches\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sekoly.mydatadigital.com\/"},{"@type":"ListItem","position":2,"name":"Les roches"}]},{"@type":"WebSite","@id":"https:\/\/sekoly.mydatadigital.com\/#website","url":"https:\/\/sekoly.mydatadigital.com\/","name":"G\u00c9OLOGIE DE MADAGASCAR","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sekoly.mydatadigital.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"}]}},"_links":{"self":[{"href":"https:\/\/sekoly.mydatadigital.com\/index.php\/wp-json\/wp\/v2\/pages\/469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sekoly.mydatadigital.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sekoly.mydatadigital.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sekoly.mydatadigital.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sekoly.mydatadigital.com\/index.php\/wp-json\/wp\/v2\/comments?post=469"}],"version-history":[{"count":133,"href":"https:\/\/sekoly.mydatadigital.com\/index.php\/wp-json\/wp\/v2\/pages\/469\/revisions"}],"predecessor-version":[{"id":688,"href":"https:\/\/sekoly.mydatadigital.com\/index.php\/wp-json\/wp\/v2\/pages\/469\/revisions\/688"}],"wp:attachment":[{"href":"https:\/\/sekoly.mydatadigital.com\/index.php\/wp-json\/wp\/v2\/media?parent=469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}