1 2//jQuery time 3var current_fs, next_fs, previous_fs; //fieldsets 4var left, opacity, scale; //fieldset properties which we will animate 5var animating; //flag to prevent quick multi-click glitches 6 7jQuery(".next").click(function(){ 8 if(animating) return false; 9 animating = true; 10 11 current_fs = jQuery(this).parent(); 12 next_fs = jQuery(this).parent().next(); 13 14 //show the next fieldset 15 next_fs.css('display', 'flex'); 16 //hide the current fieldset with style 17 current_fs.animate({opacity: 0}, { 18 step: function(now, mx) { 19 opacity = 1 - now; 20 current_fs.css({ 21 'transform': 'scale('+scale+')' 22 }); 23 next_fs.css({'opacity': opacity}); 24 }, 25 duration: 0, 26 complete: function(){ 27 current_fs.hide(); 28 animating = false; 29 }, 30 }); 31}); 32 33jQuery(".previous").click(function(){ 34 if(animating) return false; 35 animating = true; 36 37 current_fs = jQuery(this).parent(); 38 previous_fs = jQuery(this).parent().prev(); 39 40 //show the previous fieldset 41 previous_fs.show(); 42 //hide the current fieldset with style 43 current_fs.animate({opacity: 0}, { 44 step: function(now, mx) { 45 opacity = 1 - now; 46 previous_fs.css({'transform': 'scale('+scale+')', 'opacity': opacity}); 47 }, 48 duration: 0, 49 complete: function(){ 50 current_fs.hide(); 51 animating = false; 52 }, 53 }); 54}); 55 56jQuery(".submit").click(function(){ 57 return false; 58})
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.