Hi Raymond! I like this syntax best: <htc:@fieldname:DynLayer() Events:{} /> <htc:@lyr1:DynLayer(null,10,10,10,10,'blue') Events:{ onclick:function(e){ // some code here } } />
Really hard to deside but i think this one is the simplest. Regards Daniel > Hi, > > What do you think about the following <htc: /> formats > for the TemplateManager? > > <htc:@fieldname:DynLayer() Events:{} /> > <htc:@lyr1:DynLayer(null,10,10,10,10,'blue') > Events:{ > onclick:function(e){ > // some code here > } > } > /> > > or > > <htc:DynLayer() ID:fieldname Events:{} /> > <htc:DynLayer(null,10,10,10,10,'blue') > ID:lyr1 > Events:{ > onclick:function(e){ > // some code here > } > } > /> > > or > > <htc:DynLayer() @fieldname Events:{} /> > <htc:DynLayer(null,10,10,10,10,'blue') > @lyr1 > Events:{ > onclick:function(e){ > // some code here > } > } > /> > > NOTE: HTCs can be written in single-line or multi-line > format > > Any other suggestions? > Do you find the HTC fields of any value to the DynAPI? > > > -- > Raymond Irving > > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.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/psa00100006ave/direct;at.asp_061203_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/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/