Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > resize iframe height from remote URL

Reply
Thread Tools

resize iframe height from remote URL

 
 
phil.glatz@gmail.com
Guest
Posts: n/a
 
      06-05-2006
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?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to resize <IMG> width absolute and height relative ? Wladimir Borsov HTML 7 04-20-2012 08:44 AM
Possible to resize an Iframe to its content's height? wolfing1@gmail.com Javascript 1 03-24-2006 08:06 PM
Div inside an iframe - how to set height relative to the iframe's visible size? Joe Attardi Javascript 0 01-17-2006 08:01 PM
How to resize all images sizes and coordinates of the images on resize browser rams.kakara@gmail.com ASP General 2 02-13-2005 09:03 AM
Get form values from iframe (1) to iframe (2) inside a layer in iframe (1) Daedalous Javascript 3 01-16-2004 11:08 AM



Advertisments