Advanced iFrame
[resolved] [Plugin: Advanced iframe] iframe name? (6 posts)

  1. deepbevel
    Posted 4 years ago #

    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?

    <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?


  2. mdempfle
    Plugin Author

    Posted 4 years ago #

    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.

  3. deepbevel
    Posted 4 years ago #

    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?

  4. mdempfle
    Plugin Author

    Posted 4 years ago #

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

  5. nbquidditch
    Posted 4 years ago #

    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?



  6. mdempfle
    Plugin Author

    Posted 4 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic