1// Must include the swiper slider first! 2if (window.Swiper === undefined) { 3 console.warn( 4 "You must include the Swiper library (http://idangero.us/swiper/) in order for this controller to work." 5 ); 6} else { 7 8 var swiper_todos = new Swiper('.swiper-slider-socios', { 9 slidesPerView: 3, //Estos son los que hay en una fila ¿? 10 slidesPerColumn: 4, //Por cada columna cuantos slides hay - Interfiere en el CSS 11 slidesPerGroup: 3, //Cada vez que haces clic en "siguiente" cuantas columnas pasas 12 //loop: true, 13 loopFillGroupWithBlank: true, 14 spaceBetween: 0, //Este valor interfiere en el CSS ya que el "height" del slide se define 15 //en base a este numero y al valor de slidesPerColumn 16 pagination: { 17 el: '.swiper-pagination', 18 clickable: true, 19 }, 20 // Navigation arrows 21 navigation: { 22 nextEl: '.swiper-button-next', 23 prevEl: '.swiper-button-prev', 24 }, 25 // Responsive breakpoints 26 breakpoints: { 27 // when window width is >= 320px 28 782: { 29 slidesPerView: 5, 30 slidesPerColumn: 4, 31 slidesPerGroup: 5, 32 } 33 } 34 }); 35 console.log('slider socios created'); 36 37 var swiper_oic = new Swiper('.swiper-slider-socios-oic', { 38 slidesPerView: 5, //Estos son los que hay en una fila ¿? 39 slidesPerColumn: 3, //Por cada columna cuantos slides hay - Interfiere en el CSS 40 slidesPerGroup: 5, //Cada vez que haces clic en "siguiente" cuantas columnas pasas 41 //loop: true, 42 loopFillGroupWithBlank: true, 43 spaceBetween: 0, //Este valor interfiere en el CSS ya que el "height" del slide se define 44 //en base a este numero y al valor de slidesPerColumn 45 pagination: { 46 el: '.swiper-pagination', 47 clickable: true, 48 }, 49 // Navigation arrows 50 navigation: { 51 nextEl: '.swiper-button-next', 52 prevEl: '.swiper-button-prev', 53 }, 54 }); 55 console.log('slider socios created'); 56 57} 58 59console.log('slider socios not created');
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.