You are correct. It is not a DomEvent example.
Listing 6-15 is an example of using getLocation and setLocation methods of the DomElement.
It works fine in IE7 but not in Firefox 2.0.4 and I just wanted to understand why.
Curiously, as the book develops the idea of using Delegates and introduces the Mover class in example 6-22 to do the same thing, this does work in Firefox as well as IE.
The code in the Delegates.
js file to handle the mouse events looks the same as example 6-15 so i'm just trying to understand why one works and the other doesn't.
Thank you.