toElement/fromElement Sample

This sample demonstrates the use of the toElement and fromElement propertie to determine the neighboring objects at the time an event fires. When you mouse over one of the letters, the ID of the adjacent object that the mouse was just over is returned. When the mouse cursor exits one of the letters, the ID of the object that the mouse is entering is returned.

A B C



© 1999 Microsoft Corporation. All rights reserved. Terms of use.