Results 1 to 2 of 2
  1. #1
    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

    null
    How's my programming? Call 1-800-DEV-NULL

  2. #2
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •