Select Page
Notifications
Clear all

Auto height iframe

(@Anonymous 7224)
New Member

Hi there,

I'm trying to automatically resize the height of an iframe depending on the content of the webpage it displays...
basically i want word press to display within my current web template....
does anyone know of a code that works? i've tried at least 10 different codes and non actyually work...

Thanks for your help

Quote
Topic starter Posted : 20/08/2008 8:05 pm
(@Anonymous)
New Member

Re: Auto height iframe

You may want to try to go on Experts Exchange - The #1 resource on the web for solving technology problems. thats where I go if I have a very specific technology question, though most can be answered here

ReplyQuote
Posted : 21/08/2008 11:09 am
(@Anonymous)
New Member

Re: Auto height iframe

I have been faced with this problem before. Here is one method you might try, depending on the content of the page. You could load the content inside a hidden IFRAME, put its innerHTML into a string variable and set the value of that variable as the innerHTML of a DIV. DIV's, unlike IFRAME's, readily adapt to their content, so it should, in theory, work for most content that you would want to show in an IFRAME without the bothersome scroll bars.
=============================
fishnet lingerie baby beanies

ReplyQuote
Posted : 10/10/2009 5:02 am
(@Anonymous)
New Member

Re: Auto height iframe

paste your code here

ReplyQuote
Posted : 10/10/2009 8:18 pm
(@Anonymous)
New Member

Re: Auto height iframe

Here is one adjustment you ability try, depending on the agreeable of the page. You could amount the agreeable central a hidden IFRAME, put its innerHTML into a cord capricious and set the amount of that capricious as the innerHTML of a DIV.

ReplyQuote
Posted : 19/05/2012 6:40 am
Share: