Please see my comments below:

--- Kevin <[EMAIL PROTECTED]> wrote:
> Please see my comments below:
> 
> > Raymond Irving <[EMAIL PROTECTED]> wrote:
> > 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.
> 
> Yes I was thinking of setHTML(html,true) adding true
> would getInnerHTML().
>  
> > The BlackBoard approach:
> > 
> > lyr.setBlackBoard(b,x,y);
> 
> Is the blackboard a cache of all nested HTML so what
> do x,y relate to? 

The x,y arguments will allow the user to change the
location of it's blackboard. By default the blackboard
will be set to location 0,0

--
Raymond Irving 
  
> > 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?
> 
> I quite like this idea.
> 
> Kevin.
> 
> 
> > --
> > Raymond Irving
> > [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