Results 1 to 2 of 2

Thread: Resizing Iframe Without Reloading Parent Page

  1. #1
    Join Date
    Apr 2006
    Posts
    7

    Resizing Iframe Without Reloading Parent Page

    Hi People,

    I was wondering if anyone could give me some help, advice and constructive critism!

    I have a page, it has a flash menu embedded at the top in a div, below I have set up an IFrame where I want to load external pages in withough having to reload the parent page.

    This works fine upon load, the script i am using http://www.dynamicdrive.com/dynamici.../iframessi.htm does the job good.

    but i wish to resize the IFrame for page I am loading into the IFrame, without having to reload the parent page! this is just the height attribute by the way.

    any solutions to what i need please? if i reload the parent page the flash menu looses all its settings etc.

    thanks in advance people!

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    AFAIK an iFrame has to have a fixed size, so each external page if too big will create scrollbars. Others here will tell you to use server-side includes instead of Iframe.

    You could make the iFrame big enough for the first page loaded in it and also the external pages (unlikely I suppose).

Posting Permissions

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