WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Advanced iframe] iframe name?

[Resolved] [Plugin: Advanced iframe] iframe name?

  • iframe name=”” apparently doesn’t work, and id=”” seems to be used for some purpose other than giving the iframe a name or id.
    Other iframe shortcodes use id= to name the iframe so it can be targeted with a link, how can an advanced iframe be targeted in a link?
    example;

    <a href="http://www.foursticks.net/TravelBlog5/2012/01/23/san-diego-2/target="trip-window">San Diego</a>

    with “trip-window” being the name of the iframe.

    Otherwise, when I try to remove a site element from the iframe (my own domain) , it removes it from the page which contains the iframe, and not the page inside the iframe. is that right?

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author mdempfle

    @mdempfle

    name is not a supported parameter
    and id neither. Please check the documentation.

    But it is a good idea to add this to the next build.
    I’ll add this in 1.4.

    About the removing. You cannot remove anything from an iframe. Only from the page that includes the iframe to give the iframe more space like described in the documentation.
    also see the Screenshots.

    Thanks, but I just resolved.

    this is the code from the iframe plugin I used, it does have name as a param. I need it to target links in iframes.

    [iframe width="100%" src="http://www.foursticks.net/TravelBlog5/your-trips/" frameborder="1" name="trip-window" same_height_as="content"]"  </p>

    Still, I’d like to know how would an iframe be identified as a target for a url without such a plugin? What’s the param?

    Plugin Author mdempfle

    @mdempfle

    added id and name in 1.4 which was released right now.

    your instructions suggests that there are specific examples of code showing how to stop a theme overriding Advanced Iframes width & height settings.

    All I can find is an outline explantion that doesn’t a give a specific example – could you send me the url that shows a specific example of how to set the advanced settings?

    Thanks

    Will

    Plugin Author mdempfle

    @mdempfle

    The examples are given in the documentation of each parameter on the settings page. there is also described how to find the right values.

    – Michael

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: Advanced iframe] iframe name?’ is closed to new replies.