{"id":998,"date":"2022-04-29T10:12:46","date_gmt":"2022-04-29T14:12:46","guid":{"rendered":"http:\/\/h-residency.org\/slide-anything-popup-preview\/"},"modified":"2022-04-29T10:23:35","modified_gmt":"2022-04-29T14:23:35","slug":"slide-anything-popup-preview","status":"publish","type":"page","link":"https:\/\/h-residency.org\/es\/slide-anything-popup-preview\/","title":{"rendered":"Slide Anything Popup Preview"},"content":{"rendered":"<div class='white' style='background:rgba(0,0,0,0); border:solid 0px rgba(0,0,0,0); border-radius:0px; padding:1px 1px 1px 1px;'>\n<div id='slider_1001' class='owl-carousel sa_owl_theme owl-pagination-true autohide-arrows' data-slider-id='slider_1001' style='visibility:hidden;'>\n<div id='slider_1001_slide01' class='sa_hover_container' style='padding:5% 5%; margin:0px 0%; background-image:url(&quot;https:\/\/h-residency.org\/h-wp\/wp-content\/uploads\/2022\/04\/Screenshot-2022-04-15-at-21.54.15.png&quot;); background-position:center center; background-size:cover; background-repeat:no-repeat; '>Slide content<\/div>\n<div id='slider_1001_slide02' class='sa_hover_container' style='padding:5% 5%; margin:0px 0%; background-image:url(&quot;https:\/\/h-residency.org\/h-wp\/wp-content\/uploads\/2022\/04\/sensorial-2-.jpg&quot;); background-position:center center; background-size:cover; background-repeat:no-repeat; '>Slide content<\/div>\n<div id='slider_1001_slide03' class='sa_hover_container' style='padding:5% 5%; margin:0px 0%; background-image:url(&quot;https:\/\/h-residency.org\/h-wp\/wp-content\/uploads\/2022\/04\/d-corvalan-.jpg&quot;); background-position:center center; background-size:cover; background-repeat:no-repeat; '>Slide content<\/div>\n<\/div>\n<\/div>\n<script type='text\/javascript'>\n\tjQuery(document).ready(function() {\n\t\tjQuery('#slider_1001').owlCarousel({\n\t\t\titems : 1,\n\t\t\tsmartSpeed : 200,\n\t\t\tautoplay : false,\n\t\t\tautoplayHoverPause : false,\n\t\t\tsmartSpeed : 200,\n\t\t\tfluidSpeed : 200,\n\t\t\tautoplaySpeed : 200,\n\t\t\tnavSpeed : 200,\n\t\t\tdotsSpeed : 200,\n\t\t\tloop : true,\n\t\t\tnav : true,\n\t\t\tnavText : ['Previous','Next'],\n\t\t\tdots : true,\n\t\t\tresponsiveRefreshRate : 200,\n\t\t\tslideBy : 'page',\n\t\t\tmergeFit : true,\n\t\t\tautoHeight : false,\n\t\t\tmouseDrag : false,\n\t\t\ttouchDrag : true\n\t\t});\n\t\tjQuery('#slider_1001').css('visibility', 'visible');\n\t\tsa_resize_slider_1001();\n\t\twindow.addEventListener('resize', sa_resize_slider_1001);\n\t\tfunction sa_resize_slider_1001() {\n\t\t\tvar min_height = 'aspect43';\n\t\t\tvar win_width = jQuery(window).width();\n\t\t\tvar slider_width = jQuery('#slider_1001').width();\n\t\t\tif (win_width < 480) {\n\t\t\t\tvar slide_width = slider_width \/ 1;\n\t\t\t} else if (win_width < 768) {\n\t\t\t\tvar slide_width = slider_width \/ 1;\n\t\t\t} else if (win_width < 980) {\n\t\t\t\tvar slide_width = slider_width \/ 1;\n\t\t\t} else if (win_width < 1200) {\n\t\t\t\tvar slide_width = slider_width \/ 1;\n\t\t\t} else if (win_width < 1500) {\n\t\t\t\tvar slide_width = slider_width \/ 1;\n\t\t\t} else {\n\t\t\t\tvar slide_width = slider_width \/ 1;\n\t\t\t}\n\t\t\tslide_width = Math.round(slide_width);\n\t\t\tvar slide_height = '0';\n\t\t\tif (min_height == 'aspect43') {\n\t\t\t\tslide_height = (slide_width \/ 4) * 3;\t\t\t\tslide_height = Math.round(slide_height);\n\t\t\t} else if (min_height == 'aspect169') {\n\t\t\t\tslide_height = (slide_width \/ 16) * 9;\t\t\t\tslide_height = Math.round(slide_height);\n\t\t\t} else {\n\t\t\t\tslide_height = (slide_width \/ 100) * min_height;\t\t\t\tslide_height = Math.round(slide_height);\n\t\t\t}\n\t\t\tjQuery('#slider_1001 .owl-item .sa_hover_container').css('min-height', slide_height+'px');\n\t\t}\n\t\tvar owl_goto = jQuery('#slider_1001');\n\t\tjQuery('.slider_1001_goto1').click(function(event){\n\t\t\towl_goto.trigger('to.owl.carousel', 0);\n\t\t});\n\t\tjQuery('.slider_1001_goto2').click(function(event){\n\t\t\towl_goto.trigger('to.owl.carousel', 1);\n\t\t});\n\t\tjQuery('.slider_1001_goto3').click(function(event){\n\t\t\towl_goto.trigger('to.owl.carousel', 2);\n\t\t});\n\t\tvar resize_1001 = jQuery('.owl-carousel');\n\t\tresize_1001.on('initialized.owl.carousel', function(e) {\n\t\t\tif (typeof(Event) === 'function') {\n\t\t\t\twindow.dispatchEvent(new Event('resize'));\n\t\t\t} else {\n\t\t\t\tvar evt = window.document.createEvent('UIEvents');\n\t\t\t\tevt.initUIEvent('resize', true, false, window, 0);\n\t\t\t\twindow.dispatchEvent(evt);\n\t\t\t}\n\t\t});\n\t});\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":9999,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"class_list":["post-998","page","type-page","status-publish","hentry"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/h-residency.org\/es\/wp-json\/wp\/v2\/pages\/998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/h-residency.org\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/h-residency.org\/es\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/h-residency.org\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/h-residency.org\/es\/wp-json\/wp\/v2\/comments?post=998"}],"version-history":[{"count":1,"href":"https:\/\/h-residency.org\/es\/wp-json\/wp\/v2\/pages\/998\/revisions"}],"predecessor-version":[{"id":1002,"href":"https:\/\/h-residency.org\/es\/wp-json\/wp\/v2\/pages\/998\/revisions\/1002"}],"wp:attachment":[{"href":"https:\/\/h-residency.org\/es\/wp-json\/wp\/v2\/media?parent=998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}