Skip to content

Instantly share code, notes, and snippets.

@miketaylr
Created January 27, 2011 18:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miketaylr/798992 to your computer and use it in GitHub Desktop.
Save miketaylr/798992 to your computer and use it in GitHub Desktop.
function _aspxGetAbsolutePositionX(element){
if (__aspxIE)
return _aspxGetAbsolutePositionX_IE(element);
else if (__aspxFirefox && __aspxBrowserVersion >= 3)
return _aspxGetAbsolutePositionX_FF3(element);
else if (__aspxOpera)
return _aspxGetAbsolutePositionX_Opera(element);
else if(__aspxNetscapeFamily && (!__aspxFirefox || __aspxBrowserVersion < 3))
return _aspxGetAbsolutePositionX_NS(element);
else if(__aspxWebKitFamily)
return _aspxGetAbsolutePositionX_Safari(element);
else
return _aspxGetAbsolutePositionX_Other(element);
}
@miketaylr
Copy link
Author

/me stabs out eyes

@miketaylr
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment