SunQuest
           HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 6th, 2000, 10:19 AM
Shaunp Shaunp is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 1 Shaunp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old July 8th, 2000, 10:59 PM
rkmarcks rkmarcks is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 81 rkmarcks User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via AIM to rkmarcks
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > NS equivalent to fromElement/toElement (I.E)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway