Blog

Eos quo at sit mollitia autem.

  |   Events, Others, Security

Ut aperiam officia velit corrupti dignissimos natus. Tempora aliquam voluptates earum corporis consequatur. Unde accusantium fugit voluptatem cum mollitia et dicta. Facere molestias sequi fugiat. Illum et est est et. Natus temporibus sapiente doloribus et. Pariatur omnis et maiores earum cumque maiores incidunt accusantium. Eligendi quia voluptatem est quia laboriosam. Inventore et voluptatibus facilis quia. Vitae animi similique voluptate qui quia quia. Asperiores quo iste ut voluptatem debitis omnis non. Eligendi consequatur ipsa eligendi odio et officia.



jQuery(document).ready(function ($) { $('.testiSlide').slick({ slidesToShow: 1, slidesToScroll: 1, autoplay: false, autoplaySpeed: 10000, dots: false, prevArrow: false, nextArrow: false, responsive: [{ breakpoint: 850, settings: { slidesToShow: 1, slidesToScroll: 1, infinite: true, } }] }); }); jQuery(document).ready(function($) { var formFields = $('.form-field'); formFields.each(function() { var field = $(this); var input = field.find('input'); console.log(input); var label = field.find('label'); $(".wpcf7-text").focus(function(){ $(this).parent().next().next().addClass( "freeze" ); }).blur(function(){ var valueLength = $(this).val().length; if (valueLength > 0 ) { $(this).parent().next().next().addClass( "freeze" ); } else { $(this).parent().next().next().removeClass( "freeze" ); } }) $(".wpcf7-textarea").focus(function(){ $(this).parent().next().next().addClass( "freeze textarea" ); }).blur(function(){ var valueLength = $(this).val().length; if (valueLength > 0 ) { $(this).parent().next().next().addClass( "freeze textarea" ); } else { $(this).parent().next().next().removeClass( "freeze textarea" ); } }) /* function checkInput() { var valueLength = input.val().length; if (valueLength > 0 ) { label.addClass('freeze') } else { label.removeClass('freeze') } } input.change(function(){ checkInput() }) */ }); }); jQuery(document).ready(function($) { var formFields = $('.es_shortcode_form'); formFields.each(function() { var field = $(this); var input = field.find('input'); var label = field.find('label'); function checkInput() { var valueLength = input.val().length; if (valueLength > 0 ) { label.addClass('freeze') } else { label.removeClass('freeze') } } input.change(function() { checkInput() }) }); }); /* var didScroll; var lastScrollTop = 0; var delta = 5; var navbarHeight = jQuery('header').outerHeight(); jQuery(window).scroll(function(event){ didScroll = true; }); setInterval(function() { if (didScroll) { hasScrolled(); didScroll = false; } }, 250); function hasScrolled() { var st = jQuery(this).scrollTop(); // Make scroll more than delta if(Math.abs(lastScrollTop - st) <= delta) return; // If scrolled down and past the navbar, add class .nav-up. if (st > lastScrollTop && st > navbarHeight){ // Scroll Down jQuery('header').removeClass('nav-down').removeClass('sticky sticky_animate').addClass('nav-up'); } else { // Scroll Up if(st + jQuery(window).height() < jQuery(document).height()) { jQuery('header').removeClass('nav-up').addClass('nav-down').removeClass('sticky sticky_animate'); } } lastScrollTop = st; } */ -->