View Single Post
 
Old July 8th, 2004, 08:59 AM
natmaster natmaster is offline
Authorized User
 
Join Date: Jun 2003
Location: , , USA.
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to natmaster Send a message via AIM to natmaster Send a message via MSN to natmaster
Default

set up to capture events for the entire window and then check the target to see if the source was from your layer, if not, then do whatever.

here's an event finder script:
    if (window.event) { which = window.event.srcElement;
    } else if (e.target) { which = e.target;
    } else { return;
    }


----------------------------
Aeon of Darkness MUD - Free Online Roleplaying Game
http://aeonofdarkness.com