TemplateManager makes it eaiser for us to add both text and DynLayers to an HTML document, but downloading the HTML document for the most part requires a sever-side script to open and send the resulting HTML back to the client as a JavaScript string (when using IOElement).
The FileReader class makes it much easier to download template files from the server. No more embedding of bulky HTML code inside the main document or using server-side scripts. var tp = new Template(); var fl = new FileReader(function(){ // load file from server var str = fl.read('mytemplate.html'); tp.setHTML(str); }); -- Raymond Irving __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/