1/* ========================================================================== 2 #Text Rotate For Thank You Page 3 ========================================================================== */ 4 5 (function($){ 6 "use strict"; 7 $.fn.extend({ 8 rotaterator: function(options) { 9 10 var defaults = { 11 fadeSpeed: 300, 12 pauseSpeed: 300, 13 child:null 14 }; 15 16 var options = $.extend(defaults, options); 17 18 return this.each(function() { 19 var o =options; 20 var obj = $(this); 21 var items = $(obj.children(), obj); 22 items.each(function() {$(this).hide();}) 23 if(!o.child){var next = $(obj).children(':first'); 24 }else{var next = o.child; 25 } 26 $(next).fadeIn(o.fadeSpeed, function() { 27 $(next).delay(o.pauseSpeed).fadeOut(o.fadeSpeed, function() { 28 var next = $(this).next(); 29 if (next.length == 0){ 30 next = $(obj).children(':first'); 31 } 32 $(obj).rotaterator({child : next, fadeSpeed : o.fadeSpeed, pauseSpeed : o.pauseSpeed}); 33 }) 34 }); 35 }); 36 } 37 }); 38 })(jQuery);
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.