Results 1 to 2 of 2

Thread: Autosize iframe

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

    Lightbulb Autosize iframe

    Hi all,

    I followed the instructions and tried the script from http://www.dynamicdrive.com/dynamici...iframessi2.htm to autosize the iframe on my site but it didn't work. It resulted in a shorter iframe instead. Can anyone please help me with this? Thanks in advance

    Regards,
    Ethan

  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

    This script is somewhat layout dependant, if your layout doesn't allow room for the iframe to comfortably expand and contract according to any given browser's way of parsing the layout, there will be problems. Also, you cannot auto resize an iframe to contents from another domain.

    There could be other problems, no way to be certain without a link to your page:

    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
  •