1$(document).ready(function(){ 2 $('.hot-wrapper-items .flexslider li > .js-click').click(function(){ 3 var _this = $(this), 4 block = ''; 5 activeBlock = _this.closest('.items').find('.item.active'); 6 if(_this.hasClass('flex-prev')) 7 { 8 activeBlock.fadeOut(function(){ 9 $(this).removeClass('active'); 10 11 block = activeBlock.prev('.item'); 12 if(block.length) 13 { 14 block.fadeIn(function(){ 15 $(this).addClass('active'); 16 $(window).scroll(); 17 }) 18 } 19 else 20 { 21 _this.closest('.items').find('> .item:last-of-type').fadeIn(function(){ 22 $(this).addClass('active'); 23 $(window).scroll(); 24 }) 25 } 26 }) 27 } 28 else 29 { 30 activeBlock.fadeOut(function(){ 31 $(this).removeClass('active'); 32 33 block = activeBlock.next(); 34 if(block.length) 35 { 36 block.fadeIn(function(){ 37 $(this).addClass('active'); 38 $(window).scroll(); 39 }) 40 } 41 else 42 { 43 _this.closest('.items').find('> .item:eq(0)').fadeIn(function(){ 44 $(this).addClass('active'); 45 $(window).scroll(); 46 }) 47 } 48 }) 49 } 50 }) 51})
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.