--- Doug Melvin <[EMAIL PROTECTED]> wrote:
> I like very much.
> Should it be an extension?
> I think it would be best as a native functionality
> (imho)

I'm also of the opinion that it should be a native
function.

> Basically, are we looking at a seconf layer to hold
> HTML (or children?)?
> Or would we simply cause the re-rendering of child
> layers from the children
> array?

Yes. A layer (not a DynLayer) will be used to store
the HTML content. In DOM browsers I was looking at
using a <table> object, but I think I might use a
<div>. And for NS4 I'll use a <layer>

I'm also looking at adding a two new features to the
dynapi.document object. These are as follows:

dynapi.document.writeln(html,key) and
dynapi.document.deleteln(key)

These will allow a user to write/append html content
to the document even after the page has been loaded.
The deleteln(key) will also the user to delete html
content from the document once the page is loaded. 

These two new functions will enable us to dynamically
download (inline) portions of a huge app, append the
content to the document and then create the object use
blueprint/inline create features.

What do you all thing?

--
Raymond Irving
> Note: that if we are talking re-rendering the layers
> you will run *SMACK*
> into the netscape 4.x
> memory leak.
> ----- Original Message -----
> From: "Raymond Irving" <[EMAIL PROTECTED]>
> To: "DynAPI-Dev" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 26, 2003 6:23 AM
> Subject: [Dynapi-Dev] New BlackBoard concept for
> DynAPI 3.0
> 
> 
> > Hello everyone,
> >
> > Sometime ago some of our users had a problem with
> > setHTML(). Whenever setHTML() was called after you
> > added a child layer it would erase the child and
> > overwrite the html content.
> >
> > The BlackBoard approach:
> >
> > lyr.setBlackBoard(b,x,y);
> >
> > Once the blackBoard is setup (before the layer is
> > created) you can then call setHTML() and if will
> not
> > erase the child layers but overwrite the html
> content.
> > This will make it easier for us to create things
> like
> > the button widget:
> >
> > lyr.setBlackBoard(true);
> > lyr.addChild(new DynLayer(),'_lyrCover');
> > dynapi.document.addChild(lyr);
> > lyr.setHTML('Click Here');
> >
>
lyr._lyrCover.setAnchor({left:0,top:0,stretchH:'100%',stretchV:'100%'});
> > ....
> > lyr.setHTML('Ok');
> >
> > Any comments?
> >
> > --
> > Raymond Irving
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Platinum - Watch CBS' NCAA March Madness,
> live on your desktop!
> > http://platinum.yahoo.com
> >
> >
> >
>
-------------------------------------------------------
> > This SF.net email is sponsored by:
> > The Definitive IT and Networking Event. Be There!
> > NetWorld+Interop Las Vegas 2003 -- Register today!
> >
>
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> >
>
http://www.mail-archive.com/[EMAIL PROTECTED]/
> >
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to