V
VAXman-
I have code which is created from a content mamagement system. It places
some handlers on tags with in-line registration:
<tag... onmousedown="mousedownHandler(this);" ...>
I want to modified the handler and access the event. Here's an example of
such (very contrived example):
fucntion mousedownHandler(obj) {
if (!e) e = window.event;
this.style.top = e.clientY +'px';
}
This works in Safari as it knows the event as e and I can get it for M$IE
with the window.event. How do I go about accessing it in Firefox?
BTW, I can't readily modify the CMS nor does the customer want to change
CMS.
some handlers on tags with in-line registration:
<tag... onmousedown="mousedownHandler(this);" ...>
I want to modified the handler and access the event. Here's an example of
such (very contrived example):
fucntion mousedownHandler(obj) {
if (!e) e = window.event;
this.style.top = e.clientY +'px';
}
This works in Safari as it knows the event as e and I can get it for M$IE
with the window.event. How do I go about accessing it in Firefox?
BTW, I can't readily modify the CMS nor does the customer want to change
CMS.