WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Show a Certain Part of the Page

[Resolved] Show a Certain Part of the Page

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

    @mdempfle

    Hi,

    Please see here:
    http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-support#comment-67010

    In the next version I will also add a style element + the option to show ony a specific part of an iframe.

    Hi!

    Might I also suggest “padding” to go along with the margin part in the next version.

    Thanks

    Plugin Author mdempfle

    @mdempfle

    adding a style element would cover this also. You can enter there any style you want.
    But I still recommend using an external css and then use the class for this.
    This keeps the code much cleaner.

    Best, Michael

    How do I insert where the external css can be found, and also the class in the external css?

    additional_css=”what do i write here”
    class=”what do i write here”

    My shortcode:

    [advanced-iframe securitykey=”123456789″ src=”http://www.google.com” width=”100%” height=”1000″ scrolling=”no” additional_css=”what do i write here” class=”what do i write here”]

    Plugin Author mdempfle

    @mdempfle

    additional_css – the path to your css file. Best is you use the absolute path.
    class – the class you have defined in the css file.

    If you only use one iframe you can configure everything in the administration. The shortcode attributes do only exist to overwrite this settings.

    I didn’t get it to work.

    Could my CSS code be wrong?:

    <!DOCTYPE html>
    <html>
    <head>
    <style>
    .blogmargin
    {
    margin:-400px; 0px; 0px; 0px;
    }
    </style>
    </head>
    </html>

    Plugin Author mdempfle

    @mdempfle

    this is not a css file.
    a css file only contains:

    .blogmargin {
    margin:-400px; 0px; 0px; 0px;
    }

    Success!! – Thank you so much for your help and patience

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Show a Certain Part of the Page’ is closed to new replies.