jQuery(document).ready(function( $ ){ $('.elementor-nav-menu--dropdown-mobile nav.elementor-nav-menu--dropdown').prepend('
X

'); $('.elementor-nav-menu--dropdown-mobile nav.elementor-nav-menu--dropdown').append('
'); $('.elementor-nav-menu--dropdown-mobile nav.elementor-nav-menu--dropdown').append('
'); $('.merge-gallery').each(function(){ $(this).find('.big-image a.e-gallery-item').attr('data-elementor-lightbox-slideshow', 'all-'+$(this).find('.galerie-miniatury').attr('data-id')); }); $('.den-fz-image').append('
 
'); function myFooterShowNew(){ var currentlyVisible = $('.footer-slider:visible'); if(currentlyVisible.length == 0){ var showTheOne = '.slide-1'; }else if(currentlyVisible.hasClass('slide-1')){ var showTheOne = '.slide-2'; }else if(currentlyVisible.hasClass('slide-2')){ var showTheOne = '.slide-3'; }else if(currentlyVisible.hasClass('slide-3')){ var showTheOne = '.slide-4'; }else if(currentlyVisible.hasClass('slide-4')){ var showTheOne = '.slide-1'; } $('.footer-slider').stop().fadeOut(1000); setTimeout(function() { $(showTheOne).stop().fadeIn(1000); setTimeout(function(){ myFooterShowNew(); }, 3000); }, 1000); } if($('.footer-slider').length != 0) { myFooterShowNew(); } $(document).scroll(function() { if ($(document).scrollTop() >= 150) { if(!$('body').hasClass('page-scrolled')){ $('.calendars-fz-cover0').stop().hide(); $('body').addClass('page-scrolled'); $('.calendars-fz-cover0').fadeIn('fast'); } } else { if($('body').hasClass('page-scrolled')){ $('.calendars-fz-cover0').stop().hide(); $('body').removeClass('page-scrolled'); $('.calendars-fz-cover0').fadeIn('fast'); } } }); //if(window.location.hash == '#testing'){ if ( $( ".calendars-fz-cover0" ).length ) { var mobProgNav = '
'; $('body').append(mobProgNav); $('#days-mob-nav').change(function(){ var goToUrl = $(this).val(); console.log(goToUrl); if(goToUrl.length > 0){ if(goToUrl.charAt(0)=='#'){ $([document.documentElement, document.body]).animate({ scrollTop: $(goToUrl).offset().top }, 2000); }else{ window.location.replace(goToUrl); } } }); } if ( $( ".den-fz-image" ).length ) { $( ".den-fz-image" ).append('vstup volný'); } if ( $( ".elementor-element-2a7af12a" ).length ) { if ($(".elementor-element-2a7af12a").css('background-image') == 'none') { $(".elementor-element-2a7af12a").addClass('day-no-bg-img'); } else { $(".elementor-element-2a7af12a").addClass('day-bg-img'); } } });
Generální partner

Dostávejte informace
s předstihem:

© Smetanova Litomyšl 2021
Designed by: wwworks.cz