Results 1 to 2 of 2
Thread: Fit IFrame in the parent window?
-
12-11-2005, 07:02 PM #1Web Hosting Master
- Join Date
- Sep 2002
- Location
- Illinois
- Posts
- 2,307
Fit IFrame in the parent window?
Hello,
I'm looking for this solution for about month now and didn't find it yet. Here's the problem:
There is a parent window which has couple of drop downs on the top and IFrame below them.
When you select data in drop downs and click button submit, JavaScript passes parameters to Iframe and loads it.
Website users have different screen resolution so I don't want to set height of the IFrame to a static value. I'm looking for a JavaScript code that would resize IFrame to fit parent window so that parent window doesn't have scrolling. I know how to do it with div scrolling but can't find the solution for IFrame.
I would appreciate if someone can help me out
nullHow's my programming? Call 1-800-DEV-NULL
-
12-12-2005, 03:08 AM #2Web Hosting Master
- Join Date
- Jul 2003
- Location
- Kuwait
- Posts
- 5,104
Can you give a URL to this? I have some code that I think would work, but need the exact setup that you have.