WordPress.org

Ready to get started?Download WordPress

Forums

Advanced iFrame
[resolved] Clicking Links in iFrame breaks out of iFrame (4 posts)

  1. jack_x
    Member
    Posted 9 months ago #

    The site that I am using within the iFrame does not have breakout code, I have checked the code.

    It loads within the iFrame just fine

    When I click any link within the iFrame, the iFramed site breaks out of the iFrame and into its own window.

    How can this be fixed?

    Thanks in advance

    http://wordpress.org/plugins/advanced-iframe/

  2. mdempfle
    Member
    Plugin Author

    Posted 8 months ago #

    do the links have a target="_blank" or target="_top" or something like this?
    How is the setup? Is the iframe on the same domain or can you modify the page in the iframe?

    Best, Michael

  3. jack_x
    Member
    Posted 8 months ago #

    Thank you for your help.

    I am unable to modify the page that is within the frame

    The links do not have a target parameter

    Not currently on the same domain

    Thank you

  4. mdempfle
    Member
    Plugin Author

    Posted 8 months ago #

    Than maybe a Javascript in the iframe opens the links in a new window.
    But if you are not able to modify the page somehow you cannot change this behavior.

Reply

You must log in to post.

About this Plugin

About this Topic