PDA

View Full Version : Custom Events tutorials?


RysChwith
09-23-2005, 02:04 PM
I'm trying to figure out custom events in JavaScript. The W3C spec (http://www.w3.org/TR/DOM-Level-2-Events/events.html) for events is a little bit obtuse to me, and I can't find a decent tutorial anywhere. Heck, I can't even find a crappy tutorial anywhere. Anyone know where I can find a little help? Or am I somehow misreading the spec about whether this is even possible?

Note: I'm not looking for information on event handlers. These, I know. I'm looking for information on being able to create and dispatch entirely new events.

Rys

Jon Hanlon
09-25-2005, 06:42 PM
http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/createeventobject.asp

Mozilla is another story...

RysChwith
09-26-2005, 08:19 AM
Yeah, I figured out by this point that it's impossible in anything other than IE (meant to post to that effect, and apparently forgot). Thanks for the link, though.

Rys