PelletierConstructionGroup / PelletierConstructionGroup.github.io

2 stars 2 forks source link

Bug: Fix testimonial page scrolling functionality #82

Closed bcko closed 4 months ago

bcko commented 4 months ago

Hey all, I just wanted to provide a place to continue the discussion of our progress on trying to resolve the error with the javascript on the testimonials page. I went ahead and grabbed the original code from https://pelletierconstructiongroup.com/testimonials so we don’t lose it should Ryan switch the domain over to the new site. I ran this through prettier:

testimonial_original_script_code.txt

It works if you swap this for what we have currently but it brings the form and cookies with it. If you comment out any portion of this, it will revert to our page without scrolling functionality. They seem to be values that have to be there. Maybe we can change them or add something else to make only the cookies and google form go away but keep the other functionality that we want.

bcko commented 4 months ago

Fixed