Results 1 to 2 of 2

Thread: IFrame Autoresize script doesn't work

  1. #1
    Join Date
    Apr 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default IFrame Autoresize script doesn't work

    I have used the autoresize script avaliable from Dynamic

    http://www.dynamicdrive.com/dynamici.../iframessi.htm

    My iframes autoresize for the first page but when I clikc on a link and a new page opens in the iframe the frame does not autoresize again.

    My HMTL currently looks like this

    <iframe src="updates.htm" name="text frame" marginwidth="0" marginheight="0" width="650px" frameborder="0" vspace="0" hspace="0" scrolling="no" class="banner" style="position:absolute; top:403px; left:147px; border-top:0px; border-bottom:0px; border-left:0px; border-right:0px; overflow: visible; display:none;"></iframe>

    However when I refresh the page the iframe autoresizes. Do I need to add a onload property?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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