1var isiPad = navigator.userAgent.match(/iPad/i) != null; 2var isiPhone = navigator.userAgent.match(/iPhone/i) != null; 3var isiPod = navigator.userAgent.match(/iPod/i) != null; 4var browserWidthResize = $(window).width(); 5 6if (browserWidthResize < 800) { 7 var swiperF = new Swiper('.foto.swiper-container', { 8 pagination: '.swiper-pagination', 9 10 slidesPerView: 1, 11 centeredSlides: true, 12 spaceBetween: 0, 13 14 nextButton: '.swiper-button-next', 15 prevButton: '.swiper-button-prev', 16 autoplay: false, 17 keyboardControl: true, 18 loop: true 19 20 }); 21 22 } 23 24 else{ 25 if(isiPhone == false ){ 26 var swiperF = new Swiper('.foto.swiper-container', { 27 pagination: '.swiper-pagination', 28 29 slidesPerView: 2, 30 centeredSlides: true, 31 spaceBetween: 0, 32 33 nextButton: '.swiper-button-next', 34 prevButton: '.swiper-button-prev', 35 autoplay: false, 36 keyboardControl: true, 37 loop: true 38 });} 39 40 } 41 42$(window).resize(function() { 43 var browserWidthResize = $(window).width(); // New width 44 if (browserWidthResize < 800) { 45 swiperF.params.slidesPerView=1 46 47 } else { 48 swiperF.params.slidesPerView=2 49 } 50 51 52 }); 53 54 55 var isiPhone = navigator.userAgent.match(/iPhone/i) != null; 56 57 if(isiPhone == true ){ 58 59 60 var swiperF = new Swiper('.foto.swiper-container', { 61 pagination: '.swiper-pagination', 62 63 slidesPerView: 1, 64 centeredSlides: true, 65 spaceBetween: 0, 66 speed:1500, 67 nextButton: '.swiper-button-next', 68 prevButton: '.swiper-button-prev', 69 autoplay: 3000, 70 keyboardControl: true, 71 autoplayDisableOnInteraction:true, 72 loop: true 73 74 75 76 }); 77 } 78
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.