1/** 2 * Sideways8 Responsive Slider 3 */ 4 5jQuery(document).ready(function($) { 6 var sliders = $('.s8-responsive-slider.flexslider'); 7 if ( sliders.length ) { 8 $.each(sliders, function() { 9 var effect = $(this).data('effect'), 10 delay = $(this).data('delay'), 11 duration = $(this).data('duration'), 12 video = $(this).data('video'), 13 autoStart = $(this).data('auto-start'), 14 useSmoothHeight = $(this).data('smooth-height'), 15 sliderOptions = { 16 animation: effect, 17 slideshowSpeed: delay, 18 animationDuration: duration, 19 slideshow: autoStart, // Controls slideshow auto start 20 smoothHeight: useSmoothHeight, 21 prevText: '', 22 nextText: '' 23 }; 24 if ( video ) { 25 $(this).fitVids().flexslider( sliderOptions ); 26 } else { 27 $(this).flexslider( sliderOptions ); 28 } 29 }); 30 } 31});
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.