Talk:Dynamic HTML
![]() | Computing: Software Unassessed | ||||||||||||
|
I noticed that this page needed a rewrite. It's still not a wonderful article, but I clarified a few points. Personally, I think it needs a section on the history of DHTML, some examples, etc. Also, what version of Mozilla would be listed as a modern web browser? - Pingveno 03:38, 11 Feb 2004 (UTC)
Calling it "static" markup is misleading, as the whole premise of real DHTML rests on some kind of DOM. The first real DOM was in IE4, and NS4 has a twisted and sick DOM, that however usually managed to accomplish the desired effect. Any version of Mozilla (assuming post NS4) could be called modern, however only past say m9, did it achieve any kind of stability. Maybe I'll add to the article later :) SvendTofte
DHTML = Javascript + DOM.
This article should merged with DOM scripting. There is NO difference between the two. Dynamic HTML is not a technology, it's a marketing term invented by Microsoft. It described that the javascript in their latest browser had better access to the document than in their previous browser. All browsers have been progressively getting better at this from release to release.
Here's a quote from the article:
"[...] DHTML scripts often tended to not work well between various web browsers. Newer techniques, such as unobtrusive JavaScript coding (DOM Scripting), [...are better]"
This is just wrong. There is no distinction between the two. Could someone please tell me how you could look at a piece of javascript and tell if its DHTML or not? You can't!
-Lars
Tables
You can mention of use of tables as well.
Tables however, are not considered completely vital to DHTML, as with the introduction of CSS and the possibilities of absolute placement on pages the use of table for document alignment/ordering have become archaic. Tables should only be used for displaying information, and not for alignment of web pages.
Microsoft and DHTML
I would be interested in seeing Microsoft's claim that they invented DHTML addressed in this article. Often, specific names of Microsoft employees are mentioned as the inventors. If true, these facts deserve mention in the article. I'll dive into this some other day, but would like to hear what others have to say about it, too. --Dan 22:55, 26 March 2006 (UTC)
- DHTML was first introduced by Microsoft in IE 4.0, to then be followed-up by Netscape in version 4.0 of their own browser. Scott Isaacs (still with MS -- Developer of all of their technologies they have followed the trend and labeled Ajax - Live.com, MS Atlas, etc... are the work of Scott) developed the original specification, calling it Active HTML before deciding to change this to Dynamic HTML due to the problems they were having with the exploitation of ActiveX security holes -- See: [2], [3], and [4] for more info. --Xmlhacker 20:42, 25 May 2006 (UTC)
- This looks great. Now we just need to add the above to the article. Any volunteers? I don't have time ATM --Dan 01:38, 28 May 2006 (UTC)
Important note
innerHTML attribute should not be used. It's not a part of the standard, just a firefox extension. Needs rewriting. countryhacker 23:03, 7 May 2006 (UTC)
- Hmmm...I think innerHTML is now standard. In fact, I think it was IE that did it first, see this article on innerHTML for IE 4.0 (way back when) http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/innerhtml.asp --Dan 00:48, 9 May 2006 (UTC)
- Yeah i'm pretty sure its a de-facto standard originating from MS and copied by mozilla/netscape. Anyone care to check out konquror or safari? Plugwash 00:53, 9 May 2006 (UTC)
Demo Site
Try this site it was on a previsious revision, Interactive DOM scripting
Unobtrusive Javascript??
What's the difference between "unobtrusive javascript" and DHTML? Some explanation would be nice!
Gwinkless 10:41, 17 May 2007 (UTC)
The sample code on this page
The "Structure of a web page" section seems a bit unclear; what exactly is it supposed to show? That script tags can be placed in both the head and body, and that external scripts can be used? Those familiar with JavaScript already know this, and those who don't may have difficulty understanding the mostly unannotated code. Also, I question the use of XHTML doctypes on this page's examples. “DHTML” is a rather old term which is probably most often used to describe HTML pages, and besides, the examples are invalid XHTML (they contain inline scripts not enclosed in CDATA sections). BuilderQ 22:20, 10 October 2007 (UTC)