Support » Plugin: Advanced iFrame » [Plugin: Advanced iframe] height="100%" not working

Viewing 15 replies - 1 through 15 (of 17 total)
  • Same problem…i wish this had an answer posted!

    I’m having the same problem. I can’t find an iFrame plugin that doesn’t have this issue!

    Did anybody managed to make it work on height 100% for domains on

    Thanks.

    I didn’t. I just used a large height which leaves blank space at the bottom or a scroll bar if it’s a very long page. Would be happy to know if anyone found a better workaround.

    Plugin Author mdempfle

    (@mdempfle)

    Hi everyone.

    Seem I have to explain some html here.
    If you set the height to 100% then an iframe uses 100% of the available space. I assume that most of you have not specified any height in the div you have included the iframe. Therefore the iframe is only a few pixel in height.
    If you want to use 100% in an iframe you have to define ALL heights of the html elements up to the html tag!

    So what is the easy solution:
    You either have to define the height of the outer div or the height of the iframe in pixel.

    If you define height in % then the height of the browser is important. If you really want your iframe to be browser height depandant you have to define all heights up to the html element.

    Best, Michael

    Plugin Author mdempfle

    (@mdempfle)

    I’m working on a Javascript that automatically resizes the iframe to the height of the content.
    I’ll make a new version when this works.

    – Michael

    Plugin Author mdempfle

    (@mdempfle)

    Version 2.0 is released where this is implemented.

    Turismo in

    (@turismo-in)

    Yes but it doesn’t work.
    If i set 100% it take my height page and if the iframe page is 5000px, it show only 150px. I can’t set it to 5000px because i have others page with 100px and i see 4900px with blank page……

    Plugin Author mdempfle

    (@mdempfle)

    It does if you meet the requirements. Have you read the documentation inside the plugin?

    and 100% is NOT your page height! Please read the post above where I explain this.

    But as I have seen the resize does work because when you set your height to 100% and you see a height > the initial size.

    I only recommend to set the height to a height that fits the minimum height. If this is really 100px you should think if it hurts to use e.g. 500px because when you have long loading pages the resize can only happen when the page is fully done.

    Turismo in

    (@turismo-in)

    If i set up 500px all pages are 500px so it cut the page..

    Plugin Author mdempfle

    (@mdempfle)

    Have you read the documentation inside the plugin?

    Do you have a link?

    Turismo in

    (@turismo-in)

    Now i use <iframe src="http://www.travelstoremaker.com/ibe/turismoin/porch?command=flights" frameborder="0" marginwidth="0" marginheight="0" width="906" height="5000"></iframe>

    Sorry for my language but i have not understood. This is my code, with your plugin i can use automatic height of my iframe (height=”100%”) so i can view iframed page with real height? Yes or not…

    Plugin Author mdempfle

    (@mdempfle)

    What is the domain you include the iframe to?

    Turismo in

    (@turismo-in)

    http://turismo-in.it/voli-in-italia/

    Here you can see it.
    Thanks in advance!

    Plugin Author mdempfle

    (@mdempfle)

    If you are not able to modify
    http://www.travelstoremaker.com/ibe/turismoin/porch?command=flights
    then the answer is NO.

    It’s like I wrote before. You have to meet the requirements for this described in the plugin:
    1. Both sites are on the same domain
    or
    2. you are able to include some code in the page in the iframe.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘[Plugin: Advanced iframe] height="100%" not working’ is closed to new replies.