Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > auto vertical expansion of iframe to show all content as it changes client side

Reply
Thread Tools

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

 
 
libsfan01
Guest
Posts: n/a
 
      09-14-2006
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

 
Reply With Quote
 
 
 
 
Randy Webb
Guest
Posts: n/a
 
      09-14-2006
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/
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ruby wildcard command line argument auto expansion Michael Jia Ruby 13 06-16-2009 12:15 AM
listbox changes on the client side aren't reflected on the server side Joe Abou Jaoude ASP .Net Web Controls 2 11-18-2004 12:21 PM
custom container control (IFRAME) that adjusts it height after dynamic client-side content changes? TR ASP .Net Web Controls 0 06-03-2004 03:46 PM
Client Side changes not refecting server side label =?Utf-8?B?U3Jpbmk=?= ASP .Net 3 02-21-2004 04:56 AM
Get form values from iframe (1) to iframe (2) inside a layer in iframe (1) Daedalous Javascript 3 01-16-2004 11:08 AM



Advertisments