resize iframe height from remote URL

Discussion in 'Javascript' started by phil.glatz@gmail.com, Jun 5, 2006.

  1. Guest

    I'm pulling in content to a website from a remote website that is a
    different domain. If the URL is on the same domain as my site, I can
    use scripts like
    <http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm> to resize
    the height. But because of javascript security reasons, I can't get
    the height of the embedded content if it comes from a remote URL.

    My goal is to provive content from one web site that can be embedded
    into a second site, and exactly fit into a box on the receiving site.
    The width is fixed, but the height will vary, depending on the content
    and the local font size settings. I don't think this is going to be
    possible with iframes (but please prove me worng!). Are there any
    other ways I can accomplish this?
     
    , Jun 5, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    23
    Views:
    1,599
    Adrienne Boswell
    Sep 9, 2007
  2. Replies:
    2
    Views:
    1,290
    Adrienne
    Feb 13, 2005
  3. Daedalous
    Replies:
    3
    Views:
    784
    Daedalous
    Jan 16, 2004
  4. Joe Attardi
    Replies:
    0
    Views:
    536
    Joe Attardi
    Jan 17, 2006
  5. Replies:
    1
    Views:
    209
Loading...

Share This Page