Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #748200

    I’m trying to use a button element from the ALB to open an iframe. I can get this to work using the ?iframe=true at the end of the link, but javascript on the form being used on the iframe causes the page to redirect to the link after a few seconds instead of staying in an iframe. I would need to add a sandbox attribute to the iframe, but that doesn’t seem to be possible through the ALB. As a result, I’m trying to use a seperate plugin that will open an iframe when clicking a button with a given custom class. The problem now is that the button must link to something. Leaving the Link field empty treats it as a link to the home page. I would like to use the button without redirecting and instead have it be a functionless button for the plugin to respond to. Is it possible to do this? I should not that I’m unable to use the default editor, as it clears all content from the page. This leaves me only being able to work with the Advanced Layout Editor where I do not have the ability to add attributes such as ‘sandbox=”allow-same-origin allow-scripts”‘ to the standard iframe.

    The website is: http://tap.0nl9.com/ and the button is the one near the bottom of the page with the text “sign up now”

    #749648

    Hey!

    Sorry for the late reply!

    Please refer to this post – https://kriesi.at/support/topic/lightbox-for-mailchimp-form/#post-582439 :)

    Cheers!
    Yigit

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.