1/* 2* Multistep script 3* Button text 4*/ 5jQuery( document ).ready(function(){ 6 7 jQuery('.uacf7-step').each(function(){ 8 $next_btn = jQuery(this).attr('next-btn-text'); 9 $prev_btn = jQuery(this).attr('prev-btn-text'); 10 11 if( $next_btn != '' ){ 12 jQuery('.uacf7-next',this).text($next_btn); 13 } 14 if( $prev_btn != '' ){ 15 jQuery('.uacf7-prev',this).text($prev_btn); 16 } 17 18 }); 19 20 jQuery('.wpcf7-form').each(function(){ 21 jQuery('.steps-step a.uacf7-btn-active', this).parent().addClass('step-complete'); 22 23 jQuery(".steps-step a", this).on('click', function(){ 24 jQuery(this).parent().addClass('step-complete'); 25 jQuery(this).parent().prevAll('.steps-step').addClass('step-complete'); 26 jQuery(this).parent().nextAll('.steps-step').removeClass('step-complete'); 27 }); 28 }); 29 30});
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.