1var Proto = Proto || {} 2 3 4Proto.init = function(){ 5 // ====================================================================== 6 // Scroll Out 7 // ====================================================================== 8 9 10 ScrollOut({ 11 threshold: 0.4 12 }); 13 14 15 16 17 // ====================================================================== 18 // Web Ticker - https://maze.digital/webticker/ 19 // ====================================================================== 20 if ( $('#footer-ticker').length > 0 ) { 21 $('#footer-ticker').webTicker({ 22 speed: 50, 23 duplicate: true 24 }); 25} 26 27 28 29 30 31 32 33 // ====================================================================== 34 // Tiny Slider 35 // ====================================================================== 36 37 if ($('.event-slider__slider').length > 0){ 38 var entrySliderSm = tns({ 39 container: '.event-slider__slider', 40 slideBy: 'page', 41 fixedWidth: 250, 42 gutter: 20, 43 loop: false, 44 controlsPosition: 'bottom', 45 nav: false, 46 responsive: { 47 768: { 48 fixedWidth: 366, 49 } 50 } 51 }); 52 } 53 54 55 if ($('.cta-slider__slider').length > 0){ 56 var entrySliderSm = tns({ 57 container: '.cta-slider__slider', 58 slideBy: 'page', 59 fixedWidth: 250, 60 gutter: 20, 61 loop: false, 62 controlsPosition: 'bottom', 63 nav: false, 64 responsive: { 65 768: { 66 fixedWidth: 400, 67 }, 68 1024: { 69 fixedWidth: 540, 70 } 71 } 72 }); 73 } 74 75 76 if ($('.slider-large__slider').length > 0){ 77 var sliderLarge = tns({ 78 container: '.slider-large__slider', 79 slideBy: 1, 80 autoWidth: true, 81 gutter: 20, 82 loop: true, 83 center: true, 84 navPosition: 'bottom', 85 nav: true, 86 controls: false, 87 }); 88 89 // bind function to event 90 sliderLarge.events.on('indexChanged', function(){ 91 console.log('index changed'); 92 $sliderLargeItemIframe = $('.slider-large__slider .slide-item').find('iframe'); 93 $sliderLargeItemIframe.each(function(){ 94 iframeSrc = $(this).attr('src'); 95 $(this).attr('src', ''); 96 $(this).attr('src', iframeSrc); 97 }); 98 }); 99 } 100 101 102 103 104} 105 106 107 108$(document).ready(function () { 109 Proto.init(); 110});
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.