Re: adding event with parameters dynamically?
- From: Thomas 'PointedEars' Lahn <PointedEars@xxxxxx>
- Date: Sat, 15 Sep 2007 11:20:22 +0200
Randy Webb wrote:
Thomas 'PointedEars' Lahn said the following on 9/14/2007 11:01 AM:
In the MSHTML DOM, no argument is passed; the reference to the Event object
has to be obtained through window.event:
Does that imply that there is another type of MS DOM? Maybe an MSXML DOM
or something similar?
AIUI, "MSHTML" is the common name for the combination of the Trident/Tasman
layout engine with the Microsoft Script Engine, the user agent of Microsoft
Internet Explorer (IE), HTAs like the Windows NT 5.x Control Panel,
Microsoft HTML Help, and other IE-based applications (primarily other Web
browsers such as NeoPlanet etc.)
The MSHTML DOM is the DOM supported by this UA for HTML documents and XHTML
documents served as text/html; it is covered by the subsection "HTML and
DHTML Reference" of the MSDN Library:
http://msdn2.microsoft.com/en-us/library/ms533050.aspx
Note that Microsoft still calls this "Dynamic HTML (DHTML) Object Model
Reference"; that is probably due to historic reasons: the term "DOM" for
what was then understood as "DHTML" was coined later.
There is also an MSXML DOM that is used primarily for processing XML
content. It provides for example the recognized IXMLHTTPRequest
interface, and is covered by another subsection of the MSDN Library:
http://msdn2.microsoft.com/en-us/library/ms759148.aspx
If there isn't, then it is simply an MSIE DOM.
Your logic is flawed.
That would still rely on the proprietary `onmouseover' property
Speaking of proprietary properties (which you like to point out and the
inherent error-prone nature of them), have you found an answer to my
"document" question whereby I wanted to know what you propose people use
instead of the "proprietary and error-prone" document object?
Sorry, I made it a rule for myself not to answer questions that are ripped
out of their context (in a childish attempt to invalidate a proposed
solution by ripping the corresponding quotation out of context.)
PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7@xxxxxxxxxxxxxxxx>
.
- Follow-Ups:
- Re: adding event with parameters dynamically?
- From: Randy Webb
- Re: adding event with parameters dynamically?
- References:
- adding event with parameters dynamically?
- From: Zwerfkat
- Re: adding event with parameters dynamically?
- From: Thomas 'PointedEars' Lahn
- Re: adding event with parameters dynamically?
- From: Randy Webb
- adding event with parameters dynamically?
- Prev by Date: Re: Is there any way to paly music in the website without using frames
- Next by Date: Re: how to set Meta refresh
- Previous by thread: Re: adding event with parameters dynamically?
- Next by thread: Re: adding event with parameters dynamically?
- Index(es):
Relevant Pages
|
Loading