File: /datos/www/expodubai/wp-content/themes/osapa-child/footer.php
</div><!-- #content -->
<?php if( !is_page_template('page-blank.php') ): ?>
<footer id="colophon" class="site-footer">
<?php
if ( is_active_sidebar( 'footer-top' ) || is_active_sidebar( 'footer-middle' ) || is_active_sidebar( 'footer-bottom' ) ) :
if ( is_active_sidebar( 'footer-top' ) ) { ?>
<div class="widget-column footer-top">
<div class="container">
<?php dynamic_sidebar( 'footer-top' ); ?>
</div>
</div>
<?php }
if ( is_active_sidebar( 'footer-middle' ) ) { ?>
<div class="widget-column footer-middle">
<div class="container">
<?php dynamic_sidebar( 'footer-middle' ); ?>
</div>
</div>
<?php }
if ( is_active_sidebar( 'footer-bottom' ) ) { ?>
<div class="widget-column footer-bottom">
<div class="container">
<?php dynamic_sidebar( 'footer-bottom' ); ?>
</div>
</div>
<?php } ?>
<?php endif; ?>
</footer><!-- #colophon -->
<?php endif; ?>
</div><!-- .site-content-contain -->
</div><!-- #page -->
<div class="ftc-close-popup"></div>
<?php
global $smof_data;
if( ( !wp_is_mobile() && isset($smof_data['ftc_back_to_top_button']) && $smof_data['ftc_back_to_top_button'] ) || ( wp_is_mobile() && isset($smof_data['ftc_back_to_top_button_on_mobile']) && $smof_data['ftc_back_to_top_button_on_mobile'] ) ):
?>
<div id="to-top" class="scroll-button">
<a class="scroll-button" href="javascript:void(0)" title="<?php esc_html_e('Back to Top', 'osapa'); ?>"><?php esc_html_e('Back to Top', 'osapa'); ?></a>
</div>
<?php endif; ?>
<?php wp_footer(); ?>
<?php if((isset($smof_data['ftc_enable_popup']) && $smof_data['ftc_enable_popup']) && is_active_sidebar('popup-newletter')) : ?>
<?php osapa_popup_newsletter(); ?>
<?php endif; ?>
<script src="https://cdnjs.cloudflare.com/ajax/libs/waypoints/4.0.1/jquery.waypoints.js"></script>
<script src="/counter/js/jquery.rcounterup.js"></script>
<script src="/counter/js/active.js"></script>
<script type="text/javascript" src="/js/jquery.waterwheelCarousel.js"></script>
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/[email protected]/slick/slick.css"/>
<script type="text/javascript" src="//cdn.jsdelivr.net/npm/[email protected]/slick/slick.min.js"></script>
<script>
jQuery(document).ready(function(){
jQuery('.vc_left').click(function(e) {
console.log('iz');
var x = window.pageXOffset,
y = window.pageYOffset;
jQuery(window).one('scroll', function () {
window.scrollTo(x, y);
});
});
jQuery('.vc_right').click(function() {
console.log('der');
var x = window.pageXOffset,
y = window.pageYOffset;
jQuery(window).one('scroll', function () {
window.scrollTo(x, y);
}) ;
});
jQuery('.sig2').click(function(){
jQuery('#paso1').hide();
jQuery('#paso2').show();
jQuery('.p2').addClass('activo');
jQuery(window).scrollTop(0);
});
jQuery('.sig3').click(function(){
jQuery('#paso2').hide();
jQuery('#paso3').show();
jQuery('.p3').addClass('activo');
jQuery(window).scrollTop(0);
});
jQuery('.sig4').click(function(){
jQuery('#paso3').hide();
jQuery('#paso4').show();
jQuery('.p4').addClass('activo');
jQuery(window).scrollTop(0);
});
jQuery('.sig5').click(function(){
jQuery('#paso4').hide();
jQuery('#paso5').show();
jQuery(window).scrollTop(0);
});
jQuery('.sig6').click(function(){
jQuery('#paso5').hide();
jQuery('#paso6').show();
jQuery(window).scrollTop(0);
});
jQuery('.sig7').click(function(){
jQuery('#paso6').hide();
jQuery('#paso7').show();
jQuery(window).scrollTop(0);
});
jQuery('.sig8').click(function(){
jQuery('#paso7').hide();
jQuery('#paso8').show();
jQuery(window).scrollTop(0);
});
jQuery('.ant2').click(function(){
jQuery('#paso2').show();
jQuery('#paso3').hide();
jQuery(window).scrollTop(0);
});
jQuery('.ant3').click(function(){
jQuery('#paso3').show();
jQuery('#paso4').hide();
jQuery(window).scrollTop(0);
});
jQuery('.ant4').click(function(){
jQuery('#paso4').show();
jQuery('#paso5').hide();
jQuery(window).scrollTop(0);
});
jQuery('.ant5').click(function(){
jQuery('#paso5').show();
jQuery('#paso6').hide();
jQuery(window).scrollTop(0);
});
jQuery('.ant6').click(function(){
jQuery('#paso6').show();
jQuery('#paso7').hide();
jQuery(window).scrollTop(0);
});
jQuery('.ant7').click(function(){
jQuery('#paso7').show();
jQuery('#paso8').hide();
jQuery(window).scrollTop(0);
});
jQuery('.ant8').click(function(){
jQuery('#paso7').show();
jQuery('#paso8').hide();
jQuery(window).scrollTop(0);
});
jQuery('#enviar').click(function(){
jQuery('#paso9').show();
jQuery('#paso8').hide();
jQuery('#contacto h1').html("Thank you!");
jQuery(window).scrollTop(0);
});
jQuery('.wppsac-readmorebtn').html('Leer más');
jQuery('.mobile-nav .fa-bars').click(function(){
jQuery('body').addClass("fixed-position");
});
jQuery('.ftc-mobile-wrapper .fa-close').click(function(){
jQuery('body').removeClass("fixed-position");
});
//console.log(jQuery('.header-ftc').offset().top);
var altura = 46;
jQuery(window).scroll( function(){
if ( jQuery(window).scrollTop() > altura ){
jQuery('header').addClass('headerfijo');
jQuery('#content').css('top','116px')
} else {
jQuery('header').removeClass('headerfijo');
jQuery('#content').css('top','0')
}
});
// onClick new options list of new select
jQuery('.ae-select-content').text(jQuery('.dropdown-menu2 > li.selected').text());
var newOptions = jQuery('.dropdown-menu2 > li');
newOptions.click(function() {
jQuery('.ae-select-content').text(jQuery(this).text());
jQuery('.dropdown-menu2 > li').removeClass('selected');
jQuery(this).addClass('selected');
});
var aeDropdown = jQuery('.ae-dropdown');
aeDropdown.click(function() {
jQuery('.dropdown-menu2').toggleClass('ae-hide');
});
/*window.addEventListener('scroll', function(e) {
if( isOnScreen( jQuery( '#millonesvisitas' ) ) ) {
//alert( 'The specified container is in view.' );
count(jQuery('#millonesvisitas h6').html());
}
});*/
var wpcf7Elm = document.querySelector( '.wpcf7' );
wpcf7Elm.addEventListener( 'wpcf7mailsent', function( event ) {
var libo = '<div class="lightbox">\
<div class="logo"><img src="https://colombiaexpodubai.com/wp-content/uploads/2021/07/expodubai-logo.png" alt="EXPODUBAI" title="EXPODUBAI" class="normal-logo"></div>\
<div class="mensajelight">¡Tu mensaje ha sido enviado!</div>\
<div class="botoncerrar"><a onclick=\'javascript:document.getElementById("fancybox-close").click();\'><img src="/images/botonlightbox.png"/></a></div></div>';
$.fancybox(libo);
}, false );
/*jQuery('#btEnviar').click(function(){
var libo = '<div class="lightbox">\
<div class="logo"><img src="https://colombiaexpodubai.com/wp-content/uploads/2021/07/expodubai-logo.png" alt="EXPODUBAI" title="EXPODUBAI" class="normal-logo"></div>\
<div class="mensajelight">¡Tu mensaje ha sido enviado!</div>\
<div class="botoncerrar"><a onclick=\'javascript:document.getElementById("fancybox-close").click();\'><img src="/images/botonlightbox.png"/></a></div></div>';
$.fancybox(libo);
});*/
//Nuevas funciones formulario de experiencia pabellon
jQuery('.tabpais').click(function(){
jQuery('.tabpais').removeClass('activo');
jQuery(this).addClass('activo');
var id = jQuery(this).attr('id');
jQuery('.listadopaises').hide();
jQuery('.' + id).show();
});
//Funcion para cambiar el video en la sección de videos de youtube
jQuery('.linkvideo').click(function(){
var idVideo = jQuery(this).data('idvideo');
var url = 'https://www.youtube.com/embed/'+idVideo;
jQuery('.videoprincipal iframe').attr('src',url);
var aid = '#videoprincipal';
jQuery('html,body').animate({scrollTop: jQuery(aid).offset().top},'slow');
});
});
jQuery( window ).on( "load", function(){
var i = 1;
jQuery(".tp-bullets rs-bullet").each(function(){
jQuery(this).html('0'+i);
console.log(jQuery(this).html());
i++;
});
});
</script>
</body>
</html>