So would you suggest that we keep both methods or just
used the original method?

Any other comments?

--
Raymond Irving

--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
> I ran the 2 versions in IE on the mac, creating 2000
> layers with 
> speedtest.dynlayer-basic.html. And it looks like the
> regular method is 
> faster, but not all the time. I don't get consistent
> results each time.
> 
> Benoit
> 
> On Wednesday, March 5, 2003, at 09:20  AM, Raymond
> Irving wrote:
> 
> > Hello,
> >
> > Benoit had originally suggested that we use a
> > dictionary object (hash table) to pass parameters
> to
> > DynLayers but that proved must slower than using
> > html,x,y,w,h,color. 9I think I've found a way to
> let
> > the two co-exist:
> >
> > Old way - The original and fastest creation
> method:
> >
> > DynLayer(html,x,y,w,h,bgcolor)
> >
> > New ways - slower but more flexible creation
> methods:
> >
> > DynLayer({html:'Hello',x:100,y:100});
> > DynLayer({zIndex:2,w:100,h:100});
> > DynLayer({textSelectable:true});
> >
>
DynLayer({anchor:{top:0,bottom:0},textSelectable:true});
> > DynLayer({textSelectable:false,html:'Cool!'});
> > DynLayer({x:100,y:100,w:10,h:10,visible:false});
> >
> > inline layer - when id is set x,y,w,h,bgcolor,z
> and
> > html will be replaced with values from inline div:
> >
> > DynLayer({id:'myinline'});
> > DynLayer({id:'boxer',anchor:{left:0:right:0}});
> >
> > Optional arguments:
> > x,y,w,h,html,bgColor,zIndex,textSelectable,
> > anchor,visible,id
> >
> >
> > Changes are inside the attached dynlayer_ie.js
> file.
> > Please perform all the speed test and improvements
> you
> > can to see if the new creation method makes any
> sense
> > at all.
> >
> >
> > --
> > Raymond Irving
> >
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - forms, calculators, tips, more
> > http://taxes.yahoo.com/
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - forms, calculators, tips, more
> > http://taxes.yahoo.com/<dynlayer_ie.zip>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to