|
From: Raymond I. <xw...@ya...> - 2003-07-04 02:19:24
|
Hello Everyone,
The TM just keeps on getting better... I think!
Another new feature of the TM is to allow developers
to create DynAPI Widgets/Components inside the
templates with only a few lines of code. This is made
possible through the use a special set of fields (or
tags) called HyperText Component HTC) fields.
HTC Field Syntax:
<htc:Object() @fieldname />
Example:
var t= 'This is a DynLayer
<htc:DynLayer("HTC",0,0,30,20,"Yellow") @lyr1 /> '
+'This is a Button <htc:HTMLButton(null,"Button")
@btn2 /> ';
var tp = new Template(t,100,100,100,100,'#EEEEEE');
tp.lyr1.setHTML('Cool!');
// ^ note the DynLayer object is created automatically
See the attached file for an update.
Any comments, suggestions, ideas, etc?
--
Raymond Irving
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com |