Skip to content

Instantly share code, notes, and snippets.

@rfletcher
Created January 18, 2011 21:12
Show Gist options
  • Save rfletcher/785159 to your computer and use it in GitHub Desktop.
Save rfletcher/785159 to your computer and use it in GitHub Desktop.
$.on( some_element, "mouseover", function( e ) {
setTimeout( function() {
// reference some property of e. throws a "member not found" exception in IE.
var mouseX = e.pageX || e.clientX + document.body.scrollLeft + document.documentElement.scrollLeft;
// ...
}, 1000 );
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment