1jQuery(document).ready(function($) { 2 3/* Retrive the sliding settings from data-attribute */ 4var arrow_state = $('.slider-pro').data('arrows'); 5if(arrow_state == '1'){ arrow_state = true }else{arrow_state = false}; 6var buttons_state = $('.slider-pro').data('buttons'); 7if(buttons_state == '1'){ buttons_state = true }else{buttons_state = false}; 8var fade_state = $('.slider-pro').data('fade'); 9if(fade_state == '1'){ fade_state = true }else{fade_state = false}; 10var loop = $('.slider-pro').data('loop'); 11var slideAnimationDuration = $('.slider-pro').data('slideanimdur'); 12var fadeDuration = $('.slider-pro').data('fadeanimation'); 13var autoplay_state = $('.slider-pro').data('autoplay'); 14if(autoplay_state == '1'){ autoplay_state = true }else{autoplay_state = false}; 15var autoplayDelay = $('.slider-pro').data('autoplaydelay'); 16 17$( '#my-slider-top' ).sliderPro({ 18 19 width: '100%', 20 height: 343, 21 arrows: arrow_state, 22 buttons: buttons_state, 23 waitForLayers: false, 24 fade: fade_state, 25 autoplay: autoplay_state, 26 autoScaleLayers: true, 27 imageScaleMode:'cover', 28 loop: loop, 29 slideAnimationDuration: slideAnimationDuration, 30 fadeDuration: fadeDuration, 31 autoplayDelay: autoplayDelay, 32 touchSwipe: false, 33 breakpoints: { 34 800: { 35 touchSwipe: true 36 }, 37 500: { 38 touchSwipe: true 39 } 40 } 41}); 42 43});
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.