Topic awaiting preservation: Autosizing Iframes |
|
---|---|
Author | Thread |
Obsessive-Compulsive (I) Inmate From: Atlanta, GA - USA |
posted 12-20-2003 03:09
I am looking for a script to make an iframe autosize (height-wise) to the content that it contains. I can't seem to find this. Also, the iframe needs to resize upon *content load; not merely when the parent page is loaded. |
Paranoid (IV) Inmate From: A graveyard of dreams |
posted 12-20-2003 12:23
I haven't used javascript in ages so I don't know how to write the code, but I've got an idea of how it might be done. |
Obsessive-Compulsive (I) Inmate From: Atlanta, GA - USA |
posted 12-20-2003 14:27
That sounds like a good idea, and I know how to calculate a pages scroll height, but I can't seem to send that information to the parent window. I know this can be done - it's just a matter of finding out how. BTW - I did do a search for the autosizing iframe, but the results didn't contain what I was looking for; they were referring to the scripting for a virtual desktop in DHTML. Thanks though! |