{"id":123,"date":"2023-11-07T17:21:48","date_gmt":"2023-11-07T16:21:48","guid":{"rendered":"https:\/\/vikingos.forjadores.online\/?post_type=elementor_library&#038;p=123"},"modified":"2023-11-08T13:29:49","modified_gmt":"2023-11-08T12:29:49","slug":"s1-home-slide","status":"publish","type":"post","link":"https:\/\/moneyauto.com.do\/index.php\/2023\/11\/07\/s1-home-slide\/","title":{"rendered":"S1 home slide"},"content":{"rendered":"\t\t<div data-elementor-type=\"container\" data-elementor-id=\"123\" class=\"elementor elementor-123\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a61f212 e-con-full e-flex e-con e-parent\" data-id=\"a61f212\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;full&quot;,&quot;background_background&quot;:&quot;classic&quot;}\" data-core-v316-plus=\"true\">\n\t\t\t\t<div class=\"elementor-element elementor-element-32d57fe elementor-widget elementor-widget-html\" data-id=\"32d57fe\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<script>\r\n    jQuery(document).ready(function($) {\r\n        \/\/ Define los IDs de tus botones y las im\u00e1genes de fondo correspondientes\r\n        var buttonIds = [\"button1\", \"button2\", \"button3\", \"button4\", \"button5\", \"button6\", \"button7\"];\r\n        var backgroundImages = [\"url(imagen1.jpg)\", \"url(imagen2.jpg)\", \"url(imagen3.jpg)\", \"url(imagen4.jpg)\", \"url(imagen5.jpg)\", \"url(imagen6.jpg)\", \"url(imagen7.jpg)\"];\r\n\r\n        \/\/ Agrega un evento click a cada bot\u00f3n\r\n        for (var i = 0; i < buttonIds.length; i++) {\r\n            $(\"#\" + buttonIds[i]).on(\"click\", function() {\r\n                \/\/ Obtiene el \u00edndice del bot\u00f3n que se hizo clic\r\n                var buttonIndex = buttonIds.indexOf(this.id);\r\n\r\n                \/\/ Cambia el fondo de la secci\u00f3n con el \u00edndice correspondiente\r\n                $(\".tu-seccion-clase\").css(\"background-image\", backgroundImages[buttonIndex]);\r\n            });\r\n        }\r\n    });\r\n<\/script>\r\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-cfd2117 e-con-full e-flex e-con e-child\" data-id=\"cfd2117\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;full&quot;,&quot;background_background&quot;:&quot;gradient&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-66310f0 elementor-widget elementor-widget-premium-carousel-widget\" data-id=\"66310f0\" data-element_type=\"widget\" data-widget_type=\"premium-carousel-widget.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\r\n\t\t<div id=\"premium-carousel-wrapper-66310f0\" class=\"premium-carousel-wrapper premium-carousel-hidden carousel-wrapper-66310f0   premium-carousel-dots-below\" data-settings=\"{&quot;vertical&quot;:false,&quot;slidesToScroll&quot;:5,&quot;slidesToShow&quot;:5,&quot;infinite&quot;:true,&quot;speed&quot;:300,&quot;fade&quot;:false,&quot;autoplay&quot;:true,&quot;autoplaySpeed&quot;:5000,&quot;draggable&quot;:true,&quot;touchMove&quot;:true,&quot;rtl&quot;:false,&quot;adaptiveHeight&quot;:false,&quot;variableWidth&quot;:false,&quot;cssEase&quot;:&quot;ease&quot;,&quot;pauseOnHover&quot;:false,&quot;centerMode&quot;:false,&quot;arrows&quot;:true,&quot;dots&quot;:true,&quot;slidesDesk&quot;:5,&quot;slidesTab&quot;:1,&quot;slidesMob&quot;:1,&quot;animation&quot;:&quot;null&quot;,&quot;tabletBreak&quot;:1025,&quot;mobileBreak&quot;:768,&quot;navigation&quot;:[],&quot;carouselNavigation&quot;:&quot;dots&quot;,&quot;templatesNumber&quot;:7}\">\r\n\t\t\t\t\t\t<div class=\"premium-carousel-nav-dot\">\r\n\t\t\t\t\t\t\t\t<i class=\"fas fa-circle\" aria-hidden=\"true\"><\/i>\r\n\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"premium-carousel-nav-arrow-prev\">\r\n\t\t\t\t\t<a type=\"button\" data-role=\"none\" class=\"carousel-arrow carousel-prev\" aria-label=\"Previous\" role=\"button\">\r\n\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-angle-left\" aria-hidden=\"true\"><\/i>\r\n\t\t\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t<\/div>\r\n\t\t\t\t<div class=\"premium-carousel-nav-arrow-next\">\r\n\t\t\t\t\t<a type=\"button\" data-role=\"none\" class=\"carousel-arrow carousel-next\" aria-label=\"Next\" role=\"button\">\r\n\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-angle-right\" aria-hidden=\"true\"><\/i>\r\n\t\t\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t<\/div>\r\n\t\t\t\t\t<div id=\"premium-carousel-66310f0\" class=\"premium-carousel-inner\">\r\n\t\t\t\t\t\t<div class=\"premium-carousel-template item-wrapper\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"premium-carousel-template item-wrapper\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"premium-carousel-template item-wrapper\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"premium-carousel-template item-wrapper\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"premium-carousel-template item-wrapper\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"premium-carousel-template item-wrapper\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"premium-carousel-template item-wrapper\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-123","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/moneyauto.com.do\/index.php\/wp-json\/wp\/v2\/posts\/123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/moneyauto.com.do\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/moneyauto.com.do\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/moneyauto.com.do\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/moneyauto.com.do\/index.php\/wp-json\/wp\/v2\/comments?post=123"}],"version-history":[{"count":0,"href":"https:\/\/moneyauto.com.do\/index.php\/wp-json\/wp\/v2\/posts\/123\/revisions"}],"wp:attachment":[{"href":"https:\/\/moneyauto.com.do\/index.php\/wp-json\/wp\/v2\/media?parent=123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/moneyauto.com.do\/index.php\/wp-json\/wp\/v2\/categories?post=123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/moneyauto.com.do\/index.php\/wp-json\/wp\/v2\/tags?post=123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}