Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #516051

    Hi Kriesi,
    I am putting the following code into Text in Avia

    <iframe id=”JotFormIFrame” onload=”window.parent.scrollTo(0,0)” allowtransparency=”true” src=”http://form.jotformeu.com/form/52801691259358&#8243; frameborder=”0″ style=”width:100%; height:2189px; border:none;” scrolling=”no”></iframe>

    Then I save it and when I look at it, it has changed to:

    <iframe id=”JotFormIFrame” style=”width: 100%; height: 2189px; border: none;” src=”http://form.jotformeu.com/form/52801691259358&#8243; frameborder=”0″ scrolling=”no”></iframe>

    However, I need the onload attribute to be there. How can I accomplish this?

    Thank you very much

    P. Jacobs

    #516254

    Hi jacobs64,

    I’m not sure why, could you try the code in a Codeblock element instead to see if that works better?

    Best regards,
    Rikard

    #516670

    Hello Rikard,
    thank you very much! It now works fine…
    I noticed one funny thing

    In my src string there was something like src=”….?x1=value&notification_target=value2…..”
    and the &not part got replaced with a strange symbol. It seems reserved?

    Thanks,

    Peter

    #517146

    Hi,

    Not sure, does the link work anyway? Please send us a temporary admin login so that we can have a closer look if you should have any more problems with it. You can post the details in the Private Content section of your reply.

    Regards,
    Rikard

    #517702

    Hi Rikard, the link did not work, but i replaced the name of the attribute with ‘target’ and now it works. I am good for this topic, thank you again!
    -Peter

    #517916

    Hi Peter,

    Great, glad you got it fixed :-)

    Cheers!
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Iframe looses onload attribute when embedded’ is closed to new replies.