SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Auto-expanding iframe - Iframe adjusts to height of various pages of a remote site

    Hello,

    So here's the brief:
    I need to display a remote website (not the same domain) onto my website.

    -The remote website has pages of various heights.
    -The iframe should expand to fit the height of the remote website.


    I've even tried using the code from the following site and other related sites: http://www.dynamicdrive.com/dynamici...iframessi2.htm

    The code from the above (iframessi2.htm) is exactly what i need, but it's too bad the iframe's source URL must be from the same domain.

    The solution doesn't have to be an iframe. Whatever works.

    Can someone point me to a good source and/or solution?


    Thanks in advance!
    Byron

  2. #2
    SitePoint Evangelist Karpie's Avatar
    Join Date
    Jul 2007
    Location
    Perth, Australia
    Posts
    445
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If it's a different domain, I believe it's not possible with iframes, and don't know of any other method.

    I've performed such trickery for pages on the same domain, but not different.


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
  •