1 2jQuery(document).ready(function(){ 3 jQuery('.hskslider-template-thumbnails').each(function(i,el){ 4 5 var main = jQuery(el); 6 var slideshow = main.children('.hskslider-slides'); 7 var thumbnails = main.next(); 8 9 thumbnails.find('li:first').addClass('current'); 10 slideshow.on( 'cycle-before', function( event, optionHash ) { 11 var i = optionHash.nextSlide; 12 thumbnails.find('li').removeClass('current').eq(i).addClass('current'); 13 }); 14 thumbnails.on('click', 'li', function(){ 15 var i = jQuery(this).index(); 16 slideshow.cycle('goto', i); 17 }); 18 }); 19});
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.