1(function() { 2 var main = '.cycloneslider-template-thumbnails'; 3 4 jQuery(document).on('cycle-initialized', main+' .cycloneslider-slides', function( event, optionHash ) { 5 6 jQuery(this).parent().next().find('li').eq(optionHash.currSlide).addClass('current'); /* Highlight first thumb */ 7 8 }); 9 10 jQuery(document).on('cycle-before', '.cycloneslider-template-thumbnails .cycloneslider-slides', function( event, optionHash, outgoingSlideEl, incomingSlideEl, forwardFlag ) { 11 var i = optionHash.nextSlide; 12 13 jQuery(this).parent().next().find('li').removeClass('current').eq(i).addClass('current'); 14 15 }); 16 17 jQuery(document).on('click', '.cycloneslider-thumbnails li', function(){ 18 var i = jQuery(this).index(); 19 20 jQuery(this).parents('.cycloneslider-thumbnails').prev().find('.cycloneslider-slides').cycle('goto', i); 21 }); 22 23})();
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.