Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Change size of iframe on domain change

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #157920
    Max
    Participant

    Hi there!

    I have an iframe setup to display my store (http://www.on4.com/on4/shop/allumez/) inside of my site (http://allumez-test.site90.com/hats.html).

    The iframe diplays well, except when you get to make the secure payment, the on4.com domain changes to a secure payment domain (secure.voice-pay.com). This means the iframe is offset.

    Is there someway of changing the size of the iframe, or maybe just changing the sites URL to another page which was the iframe the correct size?

    Many thanks, Max

    Current iframe code:
    http://jsfiddle.net/beechboy707/Ts2wE/

    #157924
    Senff
    Participant

    I’m afraid not. If you have a page that contains an iframe, there can be no “communication” between the parent and the contents of the iframe. Meaning, it’s not really possible to say “if this happens in the iframe contents, do this on the parent page” or vice versa.

    #157928
    Max
    Participant

    hmm…thats annoying! Thanks for the reply though.

    Can you think of any other way I could get around the issue please? I am a bit stuck!

    Many thanks,
    Max

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.