From: Thomas 'PointedEars' Lahn on 8 Jan 2010 08:00 Dr J R Stockton wrote: > FAQ server posted: >> The Document Object Model (DOM) is a interface-based model for ` >> Document` objects. The DOM allows scripts to dynamically access and >> update a document's content, style, and event handlers. >> >> The DOM is _not_ part of the ECMAScript programming language. > > Above : "The" should be "A". No. "The DOM" refers to whatever DOM implementation it means in the context of a task, not necessarily one of the W3C DOM. >> Official DOM standards are defined by the World Wide Web Consortium. > > Since this is a JavaScript FAQ and not a BrowserScript FAQ, that > sentence, which might readily be taken to mean DOM standards for all > purposes, is inappropriate. Remember : JavaScript needs a DOM, and is > not a Web-only language. > > DOM standards for browsers are defined by the World Wide Web Consortium. > /or/ The World Wide Web Consortium defines DOM standards for browsers. No, the W3C DOM specifies a language- and platform-independent API. Start with looking into the DOM classes in PHP 5, usable client-side and server- side, which implement these interfaces. PointedEars -- var bugRiddenCrashPronePieceOfJunk = ( navigator.userAgent.indexOf('MSIE 5') != -1 && navigator.userAgent.indexOf('Mac') != -1 ) // Plone, register_function.js:16
From: Thomas 'PointedEars' Lahn on 8 Jan 2010 08:08 Garrett Smith wrote: > Dr J R Stockton wrote: >> Garrett Smith posted: >>> | Scriptable browsers have proprietary object models (MSDN, MDC), that >>> | include many other features (window, screen, document.execCommand). >> >> Every acronym in the FAQ needs to be explained, either at first use or >> in a glossary. > > <abbr title="Microsoft Developer Network">MSDN</abbr> MSDN (MicroSoft Developer Network) is an acronym¹, not just any abbreviation. Use the ACRONYM element here instead. PointedEars ___________ ¹ <http://en.wikipedia.org/wiki/Acronym>; see also the references there. -- realism: HTML 4.01 Strict evangelism: XHTML 1.0 Strict madness: XHTML 1.1 as application/xhtml+xml -- Bjoern Hoehrmann
From: JR on 8 Jan 2010 21:41 On Jan 8, 11:08 am, Thomas 'PointedEars' Lahn <PointedE...(a)web.de> wrote: > Garrett Smith wrote: > > Dr J R Stockton wrote: > >> Garrett Smith posted: > >>> | Scriptable browsers have proprietary object models (MSDN, MDC), that > >>> | include many other features (window, screen, document.execCommand). > > >> Every acronym in the FAQ needs to be explained, either at first use or > >> in a glossary. > > > <abbr title="Microsoft Developer Network">MSDN</abbr> > > MSDN (MicroSoft Developer Network) is an acronym¹, not just any > abbreviation. Use the ACRONYM element here instead. The abbr element represents an abbreviation or acronym in HTML 5: http://dev.w3.org/html5/markup/abbr.html
|
Pages: 1 Prev: Javascript dummy needs help. Next: More fun with attributes |