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
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
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
Re: Auto height iframe
paste your code here
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.