1(function($) { 2 $(window).load(function() { 3 $('.testimonials').each(function() { 4 var $self = $(this); 5 var carousel = $('.testimonials-list', $self).carouFredSel({ 6 items: 1, 7 direction: 'left', 8 height: 'variable', 9 auto: 10000, 10 scroll: { 11 fx: 'crossfade' 12 }, 13 onCreate: function(data) { 14 $('.testimonials-list', $self).css({ 15 overflow: 'visible' 16 }); 17 }, 18 next: $('a.next', $self) 19 }); 20 }); 21 }); 22 23 var changeDelay = 10000; 24 25 $('.team-block').each(function() { 26 var el = this; 27 $('.team-item:not(:first-child)', el).hide(); 28 var interval = setInterval(team_change, changeDelay); 29 function team_change() { 30 var next = $('.team-item:visible', el).next('.team-item'); 31 if(next.length == 0) { 32 next = $('.team-item:first-child', el); 33 } 34 $('.team-item:visible', el).stop().animate({ opacity : 'hide' }, function() { 35 next.stop().animate({ opacity : 'show' }); 36 }); 37 } 38 $(el).hover( 39 function() { 40 clearInterval(interval); 41 }, 42 function() { 43 interval = setInterval(team_change, changeDelay); 44 } 45 ); 46 }); 47})(jQuery);
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.