1jQuery(document).ready(function() { 2 parallaxInit(); 3 passFormTitleAsFormName(); 4}); 5 6function parallaxInit(){ 7 console.log('script called'); 8 jQuery('.parallax-mirror').css('top', '0px'); 9} 10 11 // Required for GA4 form_name parameter 12 function passFormTitleAsFormName(){ 13 // Find all Gravity Forms on the page 14 jQuery('.gform_wrapper form').each(function(index) { 15 // Look for the nearest gform heading for the form title 16 var formTitle = jQuery(this).parent().find('.gform_heading .gform_title').text(); 17 // Look for the form ID 18 var formID = jQuery(this).attr('id'); 19 20 // Set the 'name' attribute of the form to a combination of title and ID 21 var combinedName = formTitle + ' - ' + formID; 22 jQuery(this).attr('name', combinedName); 23 24 //console.log(combinedName); 25 }); 26 }
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.