[thelist] [SPAM] Re: Thorny Javascript Issue with onMouseOver andEventObject....

Anthony Baratta Anthony at Baratta.com
Thu Jan 26 12:57:49 CST 2006


Well it looks like I'm just talking to myself in public again. ;-)

Just for the sake of completeness:

FWIW - The elements I want the onmouseover to fire on are in a 
scrollable div. So the screenX and screenY are not what I really want. 
The answer is clientX and clientY.

e.g.

onmouseover:
	this.style.cursor='pointer';
	showColorCombo(##, event.clientX, event.clientY);

Works in both browser great. ;-)




More information about the thelist mailing list