|
From: Raymond I. <xw...@ya...> - 2003-05-22 17:04:48
|
I've been having fun with the template manager (tm) so
far. I'm now able to switch between templates while
still using the existing layers
for exmaple:
tp.setHTML('Your name is: [@lyr]')
tp.addChild(new DynLayer('Mary Jones'),'lyr');
....
....
tp.setHTML('Click here to access [@lyr] profile')
// displays Click here to access Mary Jones profile
Users will also be able to do:
tp.setField('lyr','text')
row=tp.getFieldBlock('rows')
row.setField('c1','2030');
row.setField('c2','Apple');
The attached Text2Var converter will help you convert
your html templates to javascript
--
Raymond Irving
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com |