1(function($) { 2 $('#slideshow_1').cycle({ 3 fx: 'fade', 4 easing: 'easeInOutCirc', 5 pause: 1, 6 speed: 700, 7 timeout: slider_params.time, 8 pager: '.ss1_wrapper .slideshow_paging', 9 prev: '.ss1_wrapper .slideshow_prev', 10 next: '.ss1_wrapper .slideshow_next', 11 before: function(currSlideElement, nextSlideElement) { 12 var data = $('.data', $(nextSlideElement)).html(); 13 $('.ss1_wrapper .slideshow_box .data').fadeOut(300, function(){ 14 $('.ss1_wrapper .slideshow_box .data').remove(); 15 $('<div class="data"><div class="color-transparent"></div>'+data+'</div>').hide().appendTo('.ss1_wrapper .slideshow_box').fadeIn(600); 16 }); 17 } 18 }); 19 20 // not using the 'pause' option. instead make the slideshow pause when the mouse is over the whole wrapper 21 $('.ss1_wrapper').mouseenter(function(){ 22 $('#slideshow_1').cycle('pause'); 23 }).mouseleave(function(){ 24 $('#slideshow_1').cycle('resume'); 25 }); 26 27 $('a[href="#"]').click(function(event){ 28 event.preventDefault(); // for this demo disable all links that point to "#" 29 }); 30 31})(jQuery); 32 33
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.