1$(function() { 2 var texts = $('.tabs-item-block>div'), 3 tabs = $('.tabs-item-link>li').click(function() { 4 var $this = $(this), 5 index = $this.index(); 6 7 tabs.removeClass('active'); 8 $this.addClass('active'); 9 texts.removeClass('active'); 10 texts.eq(index).addClass('active'); 11 }); 12 13 if ( readCookie("tabs_id") == null ) { 14 createCookie("tabs_id","1"); 15 $('.tabs-item-link>li').eq(0).click(); 16 } else if ( readCookie("tabs_id") == 1) { 17 createCookie("tabs_id","2"); 18 $('.tabs-item-link>li').eq(1).click(); 19 } else if ( readCookie("tabs_id") == 2 ) { 20 createCookie("tabs_id","1"); 21 $('.tabs-item-link>li').eq(0).click(); 22 } 23 24 var swiper = new Swiper('.swiper-container', { 25 slidesPerView: 2, 26 slidesPerColumn: 3, 27 spaceBetween: 25, 28 navigation: { 29 nextEl: '.swiper-button-next', 30 prevEl: '.swiper-button-prev', 31 }, 32 breakpoints: { 33 1024: { 34 slidesPerView: 2, 35 slidesPerColumn: 3, 36 }, 37 768: { 38 slidesPerView: 3, 39 slidesPerColumn: 2, 40 }, 41 480: { 42 slidesPerView: 2, 43 slidesPerColumn: 3, 44 }, 45 // 640: { 46 // slidesPerView: 2, 47 // slidesPerColumn: 3, 48 // }, 49 // 320: { 50 // slidesPerView: 2, 51 // slidesPerColumn: 3, 52 // } 53 } 54 }); 55 $('.swiper-container .swiper-wrapper').lightGallery(); 56})
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.