Results 1 to 3 of 3

Thread: Resizing Iframes while pulling a page from another server

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

    Default Resizing Iframes while pulling a page from another server

    Hi All,

    I was wondering if anyone could help me solve this issue. We created this databse that we would like to pull the main page into one of our client's website using iframe. We also would like to have the iframe resize itself. It seems that I have been able to find scripts to resize the iframe, but only if the file being pulled in sits on the same server.

    I'm trying to prevent using a frameset, and wanted the easy ability of applying an iframe.

    Any ideas?

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    You can resize the iframe element no matter from whence its source page is coming.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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

    Quote Originally Posted by Twey
    You can resize the iframe element no matter from whence its source page is coming.
    But doing so automatically on the basis of the size of the page being loaded into the iframe has always been a same domain only thing. I wrote a script to do this that runs mostly only on the loaded page but, since it does access the iframe on the parent, it has the same problem:

    http://home.comcast.net/~jscheuer1/side/iframe_test.htm
    Last edited by jscheuer1; 04-28-2006 at 06:53 AM.
    - 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
  •