1// <!-- FlexSlider --> 2 jQuery(document).ready(function($) { 3 4 setTimeout(function(){ 5 var myFlexSlider = jQuery('.news-flexslider').flexslider({ 6 7 slideshow: true, 8 pausePlay:true, 9 controlNav: false, 10directionNav: true, //Boolean: Create navigation for previous/next navigation? (true/false) 11prevText: "Previous", //String: Set the text for the "previous" directionNav item 12nextText: "Next",//String: Set the text for the "next" directionNav item 13 pauseOnHover: false 14 }) 15 16 17 18/* 19$('a.flex-pause-button').click(function(event){ 20event.preventDefault(); 21 console.log($('a.flex-pause-button').attr('class')); 22if($('a.flex-pause-button').hasClass('pausestate')){ 23 $('.news-flexslider').flexslider('pause'); 24$('a.flex-pause-button').html('<i class="fas fa-play"></i> <span class="screen-reader-text">Play'); 25 $('a.flex-pause-button').addClass('playstate'); 26 $('a.flex-pause-button').removeClass('pausestate'); 27}else if($('a.flex-pause-button').hasClass('playstate')){ 28$('.news-flexslider').flexslider('play'); 29$('a.flex-pause-button').html('<i class="fas fa-pause"></i> <span class="screen-reader-text">Pause'); 30 $('a.flex-pause-button').removeClass('playstate'); 31 $('a.flex-pause-button').addClass('pausestate'); 32} 33});*/ 34 35}, 500); 36 37 /*trigger default news tab */ 38 39if($('.home').length === 0 && $('#newsection .elementor-tab-title[data-tab="1"]').length !== 0){ 40// if menu is empty hide tab 41if(!$('.elementor-tab-content #departmentMenu').html().length){ 42 // hide department menu on pages 43 if($('#newsection #elementor-tab-title-4601').length){ 44 $('#newsection #elementor-tab-title-4601').hide(); 45 46 setTimeout(function(){ 47$('#newsection .elementor-tab-title').removeClass('elementor-active'); 48$('#newsection .elementor-tab-title[data-tab="2"]').addClass('elementor-active'); 49$('#newsection .elementor-tab-content').hide(); 50$('#newsection .elementor-tab-content[data-tab="2"]').show(); 51}, 300); 52 53 // clear tab selection 54 $('#newsection .elementor-tab-title[data-tab="1"], #newsection .elementor-tab-title[data-tab="3"]').click(function(){ 55$('#newsection .elementor-tab-content[data-tab="2"]').hide(); 56}); 57 } 58 59 60} 61} 62});
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.