So I’m wanting a button to open hidden content, it’s really a form that opens up that the user fills out. The code that I have is generated by a third party and you paste it into your Head part of your page. The code is this:
When you preview the site a floating button follows the visitor around till you X (close) the window, which to me is a little untidy.
An example can be found here:
I want to use my own button to open up the hidden form.
Like this example the button is Plan Your Visit.
What do I need to add to my button link to make this happen?
That code (script) will launch a new window. I would guess that churchhero.com probably has a different snippet for a static button and/or an exit intent ( launch when the user goes to leave the site).