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.
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
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
Version 2.0 is released where this is implemented.
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……
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.
If i set up 500px all pages are 500px so it cut the page..
Have you read the documentation inside the plugin?
Do you have a link?
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…
What is the domain you include the iframe to?
http://turismo-in.it/voli-in-italia/
Here you can see it.
Thanks in advance!
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.