1
Themis_T
myiframe and height adjustment
  • 2009/8/5 11:53

  • Themis_T

  • Just popping in

  • Posts: 5

  • Since: 2009/7/1 9


Hi,
I have implemented the myiframe module. I can set the width as 100% but I can't use the same value for height, because it shows only a small portion of the framed page (about 100px). I have tried all combinations with the scrolling bar option (yes, auto etc.) but it works only if I set the height in pixels e.g. 1000px. This causes an aesthetic problem because when the page is smaller than 1000px there is an unused space at the end of the page. If the page is bigger than 1000px, then scrolling bars appear.
Is there any way of setting the height value to 100%?
Any help is appreciated.

Thanks
Themis

2
culex
Re: myiframe and height adjustment
  • 2009/8/6 10:21

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


I'm not sure it's possible to adjust an ifram to calculate heigh from content. I think it's designed only to calculate from percentage or pixel height from the page it's in.
Programming is like sex:
One mistake and you have to support it for the rest of your life.

Login

Who's Online

295 user(s) are online (227 user(s) are browsing Support Forums)


Members: 0


Guests: 295


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits