Resize External Website in Iframe using Javascript.
Expand Post »
Hello,
I am trying to resize an external website in an iframe using javascript, but have not found code that works very well. Anyone know how to go about it? Thanks in Advance!
Last edited by lonestar23; Nov 19th, 2008 at 2:27 pm. Reason: Added a thanks in advance
Re: Resize External Website in Iframe using Javascript.
If the website loading in the URL has a fixed size then you would have to code something to dig through the iframe and remove the sites fixed width.
But if the sites content is bigger than the frame, there really isnt much you can do besides setting "overflow: hidden" to most of the elements in the iframe.
Re: Resize External Website in Iframe using Javascript.
The external sites will have a fixed width, but not a fixed height. The height would range from 700 pixels-850pixels. Just looking for something that measures a height of an external site, with no use of sever code.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.