Hello,

As I have used bgImage as the 7th param'. I would
prefer not to change. Don't we have a setClass('style')
or are you using the new parameter as a hard coded
string to integrate with HTMLcomponents? Which
seems to have css as the first param' and is set to null? 

With an established interface it is preferable to add to,
rather than change and break backward compatibility

-
Kevin

----- Original Message ----- 
From: "Raymond Irving" <[EMAIL PROTECTED]>
To: "DynAPI-Dev" <[EMAIL PROTECTED]>
Sent: Wednesday, July 30, 2003 3:10 PM
Subject: [Dynapi-Dev] The 7th argument in DynLayer - Introducing the StyleManager


> Hello Everyone,
> 
> I've been doing some thinking and came up with a
> solution that I think is able to give us more speedy
> layers than what we currently have. 
> 
> The solution employs a StyleManager that will enable
> us to be able to change the look, feel and behavior of
> DynLayers and widgets. 
> 
> With this in mind I would like to make a proposal that
> we change the 7th argument in DynLayer to use the
> "style" argument instead of image.
> 
> IMO background image in rarely used by developers and
> could be easily changed with the use of setBgImage or
> dictionary object ({}) in those rare cases. I think
> the "style" argument will be used much more frequently
> than bgimage.
> 
> Possible usage of styles:
> 
> // create a plain DynLayer
> var l = new
> DynLayer(null,0,0,10,10,null,'PlainLayer');
> 
> // creates an html container 
> var l = new
> DynLayer('Hello',0,0,null,null,null,'HTMLLayer');
> 
> var l = new DynLayer(null,0,0,0,0,null,'CoverLayer');
> 
> The above layers will use customize code found in the
> Style object to improve the creation speed of the
> layers.
> 
> What do you think? If it's a no, then I guess we'll
> just have to use setStyle() and keep the image
> argument.
> 
> 
> 
> --
> Raymond Irving
> 
> 
> 
> 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://www.mail-archive.com/[EMAIL PROTECTED]/


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to