By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,605 Members | 2,147 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,605 IT Pros & Developers. It's quick & easy.

auto vertical expansion of iframe to show all content as it changes client side

P: n/a
hi all!

how can you get an iframe to automatically expand vertically to show
the entire contents of the page. for example if that page contained
content that was shown or displayed onclick how would you get the
iframe to expand to show the now visible content and also contract if
it was hidden?

thanks in advance

Sep 14 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
libsfan01 said the following on 9/14/2006 4:40 AM:
hi all!

how can you get an iframe to automatically expand vertically to show
the entire contents of the page. for example if that page contained
content that was shown or displayed onclick how would you get the
iframe to expand to show the now visible content and also contract if
it was hidden?
You can't reliably. There are too many things that can cause different
heights of that text that you can't detect so that it makes it
impossible to tell how high to make it.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Sep 14 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.