Friday, April 14th, 2006
One of the interesting debates in the community is whether to use DHTML-ish type approaches to DOM manipulation (such as
innerHTML) or to use the DOM API. Christian Heilmann has written “From DHTML to DOM scripting“, a lengthy, attractive article implementing a slideshow using DHTML techniques and then demonstrating how the DOM API could be used to implement the same functionality. From the article:
If you want to take a look at the code examples offline, you can download the example site as a zip.
While we at Ajaxian are somewhat pragmatic and tend to really love
innerHTML, it’s interesting to see other perspectives.
Posted by Ben Galbraith at 10:49 am