I actually have the iframe version working fine for banners where the size is obviously known in advance. I just wanted to do the same type of thing with text where I didn't know the amount of text in advance. In fact, if I give a generous height value, it works fine but with extra whitespace.
I was hoping that Javascript would allow me to get content from another site in a more free-form sort of way without using frames or iframes.
Stefan
At 01:54 PM 1/26/2004, you wrote:
Good question Stefan,
I don't think I've ever heard this one asked before.
Although I don't have an answer for you, I think you'll find that content in a IFRAME (or regular FRAME) is not readable via Script "if" the page in the IFRAME is from a different domain than the parent page (page with IFRAME tag).
JavaScript will through an "Access denied" sort of message. This is a security feature of MS Internet Explorer and other browsers (or at least it should be).
Good luck. Cheers...
Scott Cadillac, Witango.org - http://witango.org 403-281-6090 - [EMAIL PROTECTED] -- Information for the Witango Developer Community ---------------------
XML-Extranet - http://xmlx.ca 403-281-6090 - [EMAIL PROTECTED] -- Well-formed Development (for hire) ---------------------
-----Original Message----- From: Stefan Gonick <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Mon, 26 Jan 2004 13:41:32 -0500 Subject: Witango-Talk: Incorporating content from another site
> Hi Everyone, > > I want to generate content that will appear on other > people's sites. I can get it to work to a limited degree > with iframes. The problem with iframes for me is that > you have to specify the height of the frame in advance > (I think). My content is variable, so I don't know how > much height it will need. > > I have two questions: > > 1. Is there a way to set up an iframe so that it accommodates > the height of the content generated? > > 2. Is there an alternative way of doing this with Javascript? > > Thanks, > Stefan > > ======================================================== > Database WebWorks: Dynamic web sites through database integration > http://www.DatabaseWebWorks.com > > _______________________________________________________________________ > _ > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
========================================================
Database WebWorks: Dynamic web sites through database integration
http://www.DatabaseWebWorks.com
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
