Results 1 to 4 of 4

Thread: Auto resizing an iframe to fit its contents

  1. #1
    Join Date
    May 2018
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Auto resizing an iframe to fit its contents

    I'm looking for something as the title that actually work for all the browser. I've searched all over the web and they all work more than perfect on Explorer and FireFox but not on Chrome.

    Can u guys help me?

  2. #2
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,845
    Thanks
    49
    Thanked 251 Times in 243 Posts
    Blog Entries
    56

  3. #3
    Join Date
    Mar 2019
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I can't think of a way for the Iframe to resize itself but maybe you can take a look at one of twitter's widgets. It fits the container nicely.
    Maybe they use JS to check the container's width and then pass correct width and height for the IFRAME
    Last edited by james438; 03-06-2019 at 05:28 AM.

  4. #4
    Join Date
    Jul 2019
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You can illuminate the parent about the changed size of the iframe page by ... which the stature of the Facebook iframe is naturally resized.

Similar Threads

  1. Resizing an iframe according to its contents
    By abhijeet84 in forum JavaScript
    Replies: 0
    Last Post: 05-05-2011, 06:57 AM
  2. Auto resizing an iframe to fit its contents
    By bojomojo in forum Looking for such a script or service
    Replies: 25
    Last Post: 01-25-2011, 07:10 AM
  3. Auto resizing an iframe to fit its contents
    By *Scarface* in forum Looking for such a script or service
    Replies: 0
    Last Post: 08-09-2010, 11:58 AM
  4. Auto-resizing IFrame?
    By Moglizorz in forum HTML
    Replies: 5
    Last Post: 04-21-2007, 11:32 PM
  5. Browser/table auto resizing
    By thb in forum JavaScript
    Replies: 5
    Last Post: 03-26-2006, 01:27 PM

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
  •