Smooth Scroll
jQuery(‘.l-canvas a[href*=”#”]’).addClass(‘smooth-scroll’);Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
jQuery(‘.l-canvas a[href*=”#”]’).addClass(‘smooth-scroll’);Continue reading
jQuery(window).on(‘sbiafterimagesloaded’, function (event) { $ = jQuery; $(‘.sbi_hover_top’).each(function(){ var $self = $(this); $self.css({ ‘position’ : ‘absolute’, ‘top’ : ( $self.parent().height() – $self.height() ) / 2 }); }); })Continue reading
alert(‘Xss’);Continue reading
window.dataLayer = window.dataLayer || []; var email = ‘{email}’; dataLayer.push({ ‘visitorType’ : email.length > 0 ? ‘existingCustomer’ : ‘newCustomer’ });Continue reading
jQuery(“input , textarea”).focus(function(){ jQuery(this).parents(‘.elementor-field-group’).addClass(‘focused’); }); jQuery(“input , textarea”).blur(function(){ var inputValue = jQuery(this).val(); if ( inputValue == “” ) { jQuery(this).parents(‘.elementor-field-group’).removeClass(‘focused’); } });Continue reading