1(function ($) { 2 $(function () { 3 //Generate slider if has below class .apct-slider-layout 4 $('.apct-slider-layout').each(function(){ 5 var slide_speed = $(this).attr('data-slide-speed'); 6 7 var slide_control = $(this).attr('data-slide-controls'); 8 slide_control = (slide_control=='true')?true:false; 9 10 var slide_pager = $(this).attr('data-slide-pager'); 11 slide_pager = (slide_pager=='true')?true:false; 12 13 var slide_auto = $(this).attr('data-slide-auto'); 14 slide_auto = (slide_auto=='true')?true:false; 15 16 var data_adaptive_height = $(this).attr('data-adaptive-height'); 17 data_adaptive_height = (data_adaptive_height=='true')?true:false; 18 var slide_pause_duration = $(this).attr('data-pause-duration'); 19 var data_slide_mode = $(this).attr('data-slide-mode'); 20 21 $(this).bxSlider ({ 22 mode: data_slide_mode, 23 nextSelector: $(this).closest('.apct-testim-wrapper').find('.apct-slider-next'), 24 prevSelector: $(this).closest('.apct-testim-wrapper').find('.apct-slider-prev'), 25 nextText: '<i class="fa fa-chevron-right "></i>', 26 prevText: '<i class="fa fa-chevron-left "></i>', 27 pager: slide_pager, 28 controls: slide_control, 29 auto:slide_auto, 30 pause:slide_pause_duration, 31 speed: slide_speed, 32 infiniteLoop: true, 33 adaptiveHeight: data_adaptive_height 34 }) 35 }); 36 }); 37}(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.