1( function($) { 2 3 'use strict'; 4 5 /* Slider Initialize */ 6 lswss_logo_slider_init(); 7 8})( jQuery ); 9 10/* Logo Slider Initialize */ 11function lswss_logo_slider_init() { 12 jQuery( '.lswssp-logo-carousel' ).each(function( index ) { 13 14 if( jQuery(this).hasClass('slick-initialized') ) { 15 return; 16 } 17 18 var slider_id = jQuery(this).attr('id'); 19 var logo_conf = JSON.parse( jQuery(this).attr('data-conf') ); 20 21 if( typeof(slider_id) != 'undefined' && slider_id != '' ) { 22 jQuery('#'+slider_id).slick({ 23 pauseOnFocus : false, 24 pauseOnHover : logo_conf.pause_on_hover, 25 slidesToShow : parseInt(logo_conf.slides_show), 26 slidesToScroll : parseInt(logo_conf.slides_scroll), 27 dots : logo_conf.dots, 28 arrows : logo_conf.arrow, 29 autoplay : logo_conf.autoplay, 30 infinite : logo_conf.loop, 31 speed : parseInt(logo_conf.speed), 32 autoplaySpeed : parseInt(logo_conf.autoplay_speed), 33 centerMode : logo_conf.centermode, 34 centerPadding : parseInt(logo_conf.center_padding)+'px', 35 prevArrow : '<span type="button" class="lswssp-slick-prev">❮</span> ', 36 nextArrow : '<span type="button" class="lswssp-slick-next">❯</span>', 37 rtl : (Lswssp.is_rtl == 1) ? true : false, 38 mobileFirst : (Lswssp.is_mobile == 1) ? true : false, 39 responsive: [{ 40 breakpoint: 767, 41 settings: { 42 slidesToShow : parseInt(logo_conf.slide_to_show_ipad), 43 slidesToScroll : 1 44 } 45 },{ 46 breakpoint: 639, 47 settings: { 48 slidesToShow : parseInt(logo_conf.slide_to_show_tablet), 49 slidesToScroll : 1, 50 centerPadding : '0px' 51 } 52 },{ 53 breakpoint: 479, 54 settings: { 55 slidesToShow : parseInt(logo_conf.slide_to_show_mobile), 56 slidesToScroll : 1, 57 centerPadding : '0px' 58 } 59 },{ 60 breakpoint: 319, 61 settings: { 62 slidesToShow : parseInt(logo_conf.slide_to_show_mobile), 63 slidesToScroll : 1, 64 centerPadding : '0px' 65 } 66 }] 67 }); 68 } 69 }); 70}
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.