1jQuery(document).ready(function($){ 2 3 $( '.fagsfacf-slider' ).each(function( index ) { 4 5 var sconf = {}; 6 var slider_id = $(this).attr('id'); 7 var slider_conf = $.parseJSON( $(this).parent('.fagsfacf-slider-wrap').find('.fagsfacf-slider-conf').text()); 8 9 jQuery('#'+slider_id+' .fagsfacf-gallery-slider').slick({ 10 dots : (slider_conf.dots) == "true" ? true : false, 11 infinite : true, 12 arrows : (slider_conf.arrows) == "true" ? true : false, 13 speed : parseInt(slider_conf.speed), 14 autoplay : (slider_conf.autoplay) == "true" ? true : false, 15 autoplaySpeed : parseInt(slider_conf.autoplay_speed), 16 rtl : (slider_conf.rtl) == "true" ? true : false, 17 adaptiveHeight : true, 18 }); 19 }); 20 21 $( '.fagsfacf-carousel' ).each(function( index ) { 22 23 var sconf = {}; 24 var slider_id = $(this).attr('id'); 25 var slider_conf = $.parseJSON( $(this).parent('.fagsfacf-carousel-wrap').find('.fagsfacf-carousel-conf').text()); 26 27 jQuery('#'+slider_id+' .fagsfacf-gallery-carousel').slick({ 28 dots : (slider_conf.dots) == "true" ? true : false, 29 infinite : true, 30 arrows : (slider_conf.arrows) == "true" ? true : false, 31 speed : parseInt(slider_conf.speed), 32 autoplay : (slider_conf.autoplay) == "true" ? true : false, 33 autoplaySpeed : parseInt(slider_conf.autoplay_speed), 34 slidesToShow : parseInt(slider_conf.slide_to_show), 35 slidesToScroll : parseInt(slider_conf.slide_to_scroll), 36 rtl : (slider_conf.rtl) == "true" ? true : false, 37 adaptiveHeight : true, 38 mobileFirst : (Fagsfacf.is_mobile == 1) ? true : false, 39 responsive: [{ 40 breakpoint: 1023, 41 settings: { 42 slidesToShow: 2, 43 slidesToScroll: 1, 44 infinite: true, 45 dots: false 46 } 47 },{ 48 49 breakpoint: 767, 50 settings: { 51 slidesToShow: 2, 52 slidesToScroll: 1 53 } 54 }, 55 { 56 breakpoint: 479, 57 settings: { 58 slidesToShow: 1, 59 slidesToScroll: 1, 60 dots: false 61 } 62 }, 63 { 64 breakpoint: 319, 65 settings: { 66 slidesToShow: 1, 67 slidesToScroll: 1, 68 dots: false 69 } 70 }] 71 }); 72 }); 73 74}); 75
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.