Hi,
document.onmousemove = function(evt){
// r = evt.clientX - offx;
r = evt.screenX - offx;
//<---------Hier motzt MSIE: ScreenX is not an object.
Der IE übergibt das event-Objekt nicht automatisch als Parameter an die Handler-Funktion - siehe http://de.selfhtml.org/javascript/objekte/event.htm#allgemeines (Beispiel und Erklärung zur Zuweisung des Wertes an die Variable Ereignis im IE)
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“