m88 cá cược trực tuyến

tag on yout theme's header.php Read the detailed step-by-step at //humbertosilva.com/visual-composer-infinite-image-carousel/ */ // auxiliary code to create triggers for the add and remove class for later use (function($){ $.each(["addClass","removeClass"],function(i,methodname){ var oldmethod = $.fn[methodname]; $.fn[methodname] = function(){ oldmethod.apply( this, arguments ); this.trigger(methodname+"change"); return this; } }); })(jQuery); // main function for the infinite loop function vc_custominfiniteloop_init(vc_cil_element_id){ var vc_element = '#' + vc_cil_element_id; // because we're using this more than once let's create a variable for it window.maxItens = jQuery(vc_element).data('per-view'); // max visible items defined window.addedItens = 0; // auxiliary counter for added itens to the end // go to slides and duplicate them to the end to fill space jQuery(vc_element).find('.vc_carousel-slideline-inner').find('.vc_item').each(function(){ // we only need to duplicate the first visible images if (window.addedItens < window.maxItens) { if (window.addedItens == 0 ) { // the fisrt added slide will need a trigger so we know it ended and make it "restart" without animation jQuery(this).clone().addClass('vc_custominfiniteloop_restart').removeClass('vc_active').appendTo(jQuery(this).parent()); } else { jQuery(this).clone().removeClass('vc_active').appendTo(jQuery(this).parent()); } window.addedItens++; } }); // add the trigger so we know when to "restart" the animation without the user knowing about it jQuery('.vc_custominfiniteloop_restart').bind('addClasschange', null, function(){ // navigate to the carousel element , I know, its ugly ... var vc_carousel = jQuery(this).parent().parent().parent().parent(); // first we temporarily change the animation speed to zero jQuery(vc_carousel).data('vc.carousel').transition_speed = 0; // make the slider go to the first slide without animation and because the fist set of images shown // are the same that are being shown now the slider is now "restarted" without that being visible jQuery(vc_carousel).data('vc.carousel').to(0); // allow the carousel to go to the first image and restore the original speed setTimeout("vc_cil_restore_transition_speed('"+jQuery(vc_carousel).prop('id')+"')",100); }); } // restore original speed setting of vc_carousel function vc_cil_restore_transition_speed(element_id){ // after inspecting the original source code the value of 600 is defined there so we put back the original here jQuery('#' + element_id).data('vc.carousel').transition_speed = 600; } // init jQuery(document).ready(function(){ // find all vc_carousel with the defined class and turn them into infine loop jQuery('.vc_custominfiniteloop').find('div[data-ride="vc_carousel"]').each(function(){ // allow time for the slider to be built on the page // because the slider is "long" we can wait a bit before adding images and events needed var vc_cil_element = jQuery(this).prop("id"); setTimeout("vc_custominfiniteloop_init('"+vc_cil_element+"')",2000); }); }); jQuery(document).ready(function(){ var targetDiv; jQuery('.people-filter li span').click(function(){ targetDiv = '.' + jQuery(this).attr('id'); jQuery('.people-filter li span').removeClass('active'); jQuery(this).addClass('active'); jQuery('.people-row .all, .client-container .all').hide(); jQuery(targetDiv).stop().fadeIn(); if (window.matchMedia('(max-width: 1024px)').matches) { if (jQuery("#people").length) { jQuery('html, body').animate({ scrollTop: jQuery(".people-row").offset().top }, 500); } else { jQuery('html, body').animate({ scrollTop: jQuery("#clients").offset().top }, 500); } } jQuery('.get-in-touch-cta .wpb_animate_when_almost_visible').css('opacity', '1'); }) jQuery('#filter-btn').click(function(){ jQuery('.people-filter > div > div > div > div > div > div > ul').toggle(); }); jQuery('.people-row img.vc_img-placeholder').attr('src','//cs.thisisadevsite.com/wp-content/uploads/2020/12/250x250.png') jQuery(".linkedin-col .owl-carousel").show(); jQuery(".linkedin-col .owl-carousel > div > section > div").owlCarousel({ items: 1, loop: true, center: true, nav: true, dots: false, autoplay: true, autoplayTimeout:6000, autoplayHoverPause: true, paginationNumbers: false, }); jQuery(".home .main-animation img, .company-animation img").click(function(){ jQuery(this).hide(); }) jQuery.cookieBar({ message: 'Just to let you know, we use cookies to improve the performance of the site. View Privacy Policy.', acceptText: 'Okay thanks, I understand.' }); /*jQuery(".entry-header .section-inner").addClass('newsimg');*/ jQuery(".vc_grid-term-5 .vc_btn3-container a").html('Watch video') var vidId = window.location.hash; switch (vidId) { case "#consumablesvideo": PUM.open(212); break; case "#oneteamvideo": PUM.open(463); break; case "#ucontrolvideo": PUM.open(1132); break; case "#uvendvideo": PUM.open(1354); break; case "#ucountvideo": PUM.open(1707); break; case "#utouchvideo": PUM.open(1826); break; case "#businessintelligencevideo": PUM.open(2456); break; case "#advancedreportingsuitevideo": PUM.open(16254); break; case "#flythroughvideo": PUM.open(5715); break; } var inputVal; var totalVal; jQuery("#lfb_btnNext_41").click(function() { setTimeout(function() { updateTotals() }, 500); setTimeout(function() { updateTotals() }, 1000); setTimeout(function() { updateTotals() }, 2000); function updateTotals() { totalVal = jQuery("#finalPrice > span").html().split(",").join("").toString().replace(/(\d)(?=(\d\d\d)+(?!\d))/g, '$1,') jQuery("#finalPrice > span, #lfb_summaryTotal > span").html(totalVal); lfb_summaryTotal jQuery(".lfb_priceTd").each(function( index ) { inputVal = jQuery(this).html().split(",").join("").toString().replace(/(\d)(?=(\d\d\d)+(?!\d))/g, '$1,'); jQuery(this).html(inputVal); }); } }); /* GA4 Event Tracking */ var videoClass; jQuery("a[class*='show-']").click(function(){ videoClass = jQuery(this).attr('class').split(" ")[0]; console.log(videoClass); gtag('event', 'view_video', { 'page_url': window.location.href, 'video_class': videoClass }); }) var btnHref; jQuery(".btn").click(function(){ btnHref = jQuery(this).attr('href'); console.log(btnHref); gtag('event', 'button_click', { 'page_url': window.location.href, 'link_url': btnHref }); }) jQuery(".top-bar a").click(function(){ btnHref = jQuery(this).attr('href'); console.log(btnHref); gtag('event', 'top_bar_link', { 'page_url': window.location.href, 'link_url': btnHref }); }) document.addEventListener( 'wpcf7mailsent', function( event ) { console.log('form_submission'); gtag('event', 'form_submission', { 'page_url': window.location.href }); }); }); fb88hi 12bet the thao fun888 12bet link m88vin