1// source --> https://women-in-tech.org/wp-content/themes/divi-child/main.js?ver=6.6.2 2/* Define not touch screen */ 3if (!("ontouchstart" in window)) { 4 document.documentElement.className += " no-touch"; 5} 6(function ($) { 7 8 function events_slider() { 9 var ww = jQuery(window).width(); 10 var slider = jQuery("#events_slider"); 11 12 if (ww > 781) { 13 if (!slider.hasClass('slick-initialized')) { 14 slider.slick({ 15 slidesToShow: 2, 16 slidesToScroll: 1, 17 arrows: true, 18 autoplay: true, 19 infinite: true, 20 autoplaySpeed: 7000, 21 responsive: [ 22 { 23 breakpoint: 960, 24 settings: { 25 slidesToShow: 1, 26 } 27 } 28 ] 29 }); 30 } 31 } else { 32 if (slider.hasClass('slick-initialized')) { 33 slider.slick('unslick'); 34 } 35 } 36 } 37 38 $(document).ready(function () { 39 events_slider(); 40 41 jQuery(window).on("load", function () { 42 43 }); 44 jQuery(".latest_news_item").on("click",function(){ 45 if(jQuery(this).hasClass("active")){ 46 jQuery(this).removeClass("active"); 47 jQuery(this).find(".content").slideUp(); 48 }else{ 49 jQuery(this).addClass("active"); 50 jQuery(this).find(".content").slideDown(); 51 } 52 }); 53 jQuery('.actions_list').slick({ 54 slidesToShow: 3, 55 slidesToScroll: 1, 56 arrows: true, 57 autoplay: true, 58 infinite:true, 59 // variableWidth:true, 60 autoplaySpeed: 7000, 61 responsive: [ 62 { 63 breakpoint: 960, 64 settings: { 65 slidesToShow: 1, 66 } 67 } 68 ] 69 }); 70 71 jQuery(window).scroll(function () { 72 var offTop = jQuery(window).scrollTop(); 73 if(offTop > 0 ){ 74 jQuery("#with_head").addClass("active"); 75 }else{ 76 jQuery("#with_head").removeClass("active"); 77 } 78 }); 79 $(window).resize(function(){ 80 events_slider(); 81 }); 82 }); 83})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.