View Full Version : Where are the events in the W3C DOM ?
06-12-2003, 01:50 PM
I looked at the W3C DOM Definition but i could nowhere
find some events like .onmouseclick
or some attributes like .vlink etc. for the <a> tag.
Do you know where i can find a complete list with all events,attributes,properties,methods etc.?
Is that DHTML or DOM ?
p.s. i searched the references that are being suggested in the top threads.
06-12-2003, 02:12 PM
Have a look at this - http://www.w3schools.com/xhtml/xhtml_reference.asp
Specifically - click events are "onclick", while vlink is deprecated in favour of CSS - the equivalent is "a:visited"
If you mean dynamically assigning them through script, then you must follow the W3C DOM Level 2 Events specification, in which you don't have direct access to them; rather you add them into a handler list:
EventTarger.addEventListener("eventname", handler, usecapture);
06-13-2003, 08:47 AM
and one more thing.
the window or document tags are that DHTML rather than
for example window.document etc.
and where can i find a reference for all these tags.
06-13-2003, 11:04 AM
06-13-2003, 12:21 PM
06-13-2003, 02:14 PM
Originally posted by brothercake
but i can nowhere find the window tag in the DOM reference
do you know in which specification it is ? In what DOM level is it?
06-13-2003, 02:52 PM
window isn't part of the DOM; the top level object is document.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.