equal
deleted
inserted
replaced
484 if(!event) |
484 if(!event) |
485 { |
485 { |
486 event = window.event; |
486 event = window.event; |
487 } |
487 } |
488 clX = event.clientX; |
488 clX = event.clientX; |
489 sL = document.body.scrollLeft; |
489 if ( document.body ) |
|
490 sL = document.body.scrollLeft; |
|
491 else |
|
492 sL = 0; |
490 mouseX = clX + sL; |
493 mouseX = clX + sL; |
491 mouseY = event.clientY + document.body.scrollTop; |
494 mouseY = event.clientY + ( document.body ? document.body.scrollTop : 0 ); |
492 return; |
495 return; |
493 } |
496 } |
494 if( typeof(event.clientX) == 'number' ) |
497 if( typeof(event.clientX) == 'number' ) |
495 { |
498 { |
496 mouseX = event.clientX; |
499 mouseX = event.clientX; |