But I really do want to embed an HTML page from a different source.

A

On Dec 4, P T Withington wrote:

> Max's 'device':
> 
>  <text node>.setText(<the html you would write>);
> 
> (since a text node just sets the innerHTML of the sprite's div.  And setting
> innerHTML is much more efficient than using the DOM interface.)
> 
> We should probably create an <html> tag for doing this, rather than
> overloading <text>.
> 
> On 2006-12-04, at 14:28 EST, Adam Wolff wrote:
> 
> > I'd like to add an iframe as a child of the content sprite in a laszlo
> > window. Right now my program looks kinda like this:
> > 
> >    <window name="mywin">
> >    ...
> > 
> >        var ifr = document.createElement( "iframe" );
> >        mywin.content.sprite.__LZdiv.appendChild( ifr );
> >        ifr.src = ...
> > 
> > 
> > If I try to this with a regular laszlo view, things work fine, but
> > something about maybe the masking or the styling is messing it up in the
> > window. I can see the request get made, so this is a display problem.
> > 
> > Any insight will be appreciated.
> > 
> > Thanks,
> > Adam
> 

Reply via email to