Forum Moderators: open

Message Too Old, No Replies

Variable heights

... in IFRAMEs

         

dnimrodx

11:04 pm on Mar 16, 2005 (gmt 0)

10+ Year Member



Hello,

I was wondering if there is a way of declaring an IFRAME with variable height.

The page I am trying to display (within another) uses a table layout, which is both vertically and horizontally variable. In addition, its content must not be scrollable -- it must appear to the user has if there is only one document.

I have made the IFRAME variable horizontally, but not vertically...

Is there a way of accomplishing this?

Thank you very much,

David

tedster

1:03 am on Mar 17, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It takes scripting, not straight HTML, but in principle making the height dynamic is no different than making the width dynamic.

Here's a thread with some scripting ideas for dynamically changing an iframe's dimensions:

[webmasterworld.com...]

The focus there was a problem with getting the links to work within the iframe, but there's plenty of substance that directly addresses the dynamic sizing itself.

dnimrodx

5:48 pm on Mar 17, 2005 (gmt 0)

10+ Year Member



Tedster,

The link you gave me to the thread is just simply flipping amazing!

Thanks a lot!

David