|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I am converting a dropdown menu system which I had originaly written for I.E.4/5 to run in Navigator.
In I.E. I can use event.fromElement to get the object name (from the ID tag) of the element the mouse has just passed from. Similarly, event.toElement provides the name of the Element the mouse has moved to. I cant seem to find a way of getting navigator to provide this information. For example if the mouse moves from one layer to another. Can someone offer some advice ? Thanks Shaun |
|
#2
|
|||
|
|||
|
event.fromelement and event.toelement are IE specific.
Navigator supports the following properties that might help: layerx -- layer-relative x-coordinate of the event layery -- layer-relative y-coordinate of the event pagex -- page-relative x-coordinate of the event pagey -- page-relative y-coordinate of the event target -- the element that generated the event Unfortunately, none of the above are recognized by IE. As a matter of fact, they both handle the event object quite differently and are virtually incompatible. (However, they both recognize the properties screenx and screeny, which are similar to the above, but I would think they would be difficult to use). Russ |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > NS equivalent to fromElement/toElement (I.E) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|