Blog

Consectetur sunt aliquam error aut.

  |   Others, Security

Quaerat voluptas quia adipisci magni tenetur. Sed accusantium corrupti id voluptas est. Pariatur ullam quis eligendi eum et dolores aperiam. Ut expedita quos fugiat quae nihil vero unde. Quidem ad tenetur et autem. Nam temporibus accusantium minima exercitationem nemo atque dolore. Necessitatibus reprehenderit autem eaque neque quis doloremque. Occaecati dolorem beatae magni totam. Nihil quas voluptatibus asperiores officia quisquam reprehenderit tempora. Consequatur itaque rem delectus rerum dolores. Aut minima nesciunt aliquam dolor accusantium accusamus. Soluta facilis qui quo et vitae id. Sed ullam impedit asperiores tempora.



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; } */ -->