1$(function () { 2 $('.jcarousel') 3 .jcarousel({ 4 vertical: true, 5 wrap: 'circular', 6 }).jcarouselAutoscroll({ 7 interval: 5000, 8 target: '+=1', 9 autostart: true 10 }); 11 12 $('.jcarousel-prev') 13 .on('jcarouselcontrol:active', function () { 14 $(this).removeClass('inactive'); 15 }) 16 .on('jcarouselcontrol:inactive', function () { 17 $(this).addClass('inactive'); 18 }) 19 .jcarouselControl({ 20 target: '-=1' 21 }); 22 23 $('.jcarousel-next') 24 .on('jcarouselcontrol:active', function () { 25 $(this).removeClass('inactive'); 26 }) 27 .on('jcarouselcontrol:inactive', function () { 28 $(this).addClass('inactive'); 29 }) 30 .jcarouselControl({ 31 target: '+=1' 32 }); 33 34 $('.jcarousel-pagination') 35 .on('jcarouselpagination:active', 'a', function () { 36 $(this).addClass('active'); 37 }) 38 .on('jcarouselpagination:inactive', 'a', function () { 39 $(this).removeClass('active'); 40 }) 41 .jcarouselPagination({ 42 item: function(page) { 43 return '<a href="#' + page + '"></a>'; 44 } 45 }); 46});
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.