Thursday, November 29, 2007

And the Magic Function is...

document.write(). Writes directly to the DOM where ever the script is. That's how you embed javascript widgets. Include a javascript script file with document.write('...') your widget code, and this gives you a way to be able to create widgets that you host the 'html' on your site, but is automagically included in the blog.

Cool...

No comments: