1(function($) { 2 3 $(function() { 4 5 var jcarousel = $(".jcarousel"); 6 7 jcarousel.jcarousel({ 8 animation: { 9 duration: 1000, 10 easing: 'linear', 11 complete: function() { 12 } 13 } 14 }); 15 16 jcarousel.on("jcarousel:reload jcarousel:create", function () { 17 18 var carousel = $(this) /*, width = $(window).width() */; 19 20 width = carousel.innerWidth(); 21 22 width = $(window).width(); 23 24 carousel.jcarousel("items").css("width", Math.ceil(width) + "px"); 25 26 }).jcarousel({ wrap: "circular" }).jcarouselAutoscroll({ 27 interval: 4000, 28 autostart: true, 29 create: $('.Slides').hover( 30 function(){ 31 $('.jcarousel').jcarouselAutoscroll('stop'); 32 }, 33 function(){ 34 $('.jcarousel').jcarouselAutoscroll('start'); 35 } 36 ) 37 }); 38 39 $(".jcarousel-control-prev").jcarouselControl({ target: "-=1" }); 40 $(".jcarousel-control-next").jcarouselControl({ target: "+=1" }); 41 $(".jcarousel-pagination").on("jcarouselpagination:active", "a", function() { 42 $(this).addClass("active"); 43 }
43).on("jcarouselpagination:inactive", "a", function() { 44 $(this).removeClass("active"); 45 }).on("click", function(e) { 46 e.preventDefault(); 47 }).jcarouselPagination({ perPage: 1, item: function(page) { 48 return "<a href='#" + page + "'>" + page + "</a>"; } 49 }); 50 51 }); 52 53})(jQuery); 54
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.