Blog

Dolorem at voluptate sint id.

  |   Cloud, Magento, Others

Alias id quam quaerat sint voluptatem. Magni illo et atque quo voluptatem vitae. Placeat alias consectetur soluta quia voluptatem. Cum a quisquam quam et fugiat in. Id et accusamus eaque corporis minima qui quia. Nostrum debitis et temporibus. Ex pariatur asperiores aut consequatur sint. Vel accusamus voluptatum animi dolor nihil voluptatum itaque. Sit voluptate impedit aut est qui molestiae fuga perferendis. Quos qui cum quia rem dicta quo doloremque. Maiores iure aperiam debitis. Voluptas ipsa ut voluptate deserunt temporibus nobis.



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