Hi Team Kriesi,
I am an ontraport customer and they provide opt in forms via their ontraforms offering. The code that is given to create a lightbox effect is as follows:
<a href='javascript://' data-opf-trigger='p2c80273f23'>Register Now!</a><script type='text/javascript' async='true' src='https://app.ontraport.com/js/ontraport/opt_assets/drivers/opf.js' data-opf-uid='p2c80273f23' data-opf-params='borderColor=#fff&borderSize=5px&formHeight=545&formWidth=480px&popPosition=mc&instance=n728932180'></script>
As you can see the href is a javascript command and I can’t figure out how to get the button element to trigger within a button element. Is there a way to do this?
Thank you for any help.
Hey shreinmedia,
I’m not sure if that would be possible but send us an admin login in private and a link to the page where you want to do this and we’ll have a closer look.
Best regards,
Rikard
Thank you!
Hey!
Please do review their code again.
Seems that there is something wrong, as that href is not triggering any event.
Let us know if you speak with them again and we can help further.
Regards,
Basilis
Sorry for the delay. I’ve pasted the code directly from their website in to the private content. Thanks!
Just checking in on this.
Thanks!
Hi!
We added the actual html markup of the button shortcode in a code block: https://www.daveshrein.com/test-page/
Regards,
Ismael
Sorry for the delay here – THANK YOU!