HighDots Forums  

resize iframe height from remote URL

Javascript JavaScript language (comp.lang.javascript)


Discuss resize iframe height from remote URL in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
phil.glatz@gmail.com
 
Posts: n/a

Default resize iframe height from remote URL - 06-04-2006 , 11:52 PM






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
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.