Window.pageXOffset

The read-only Window property pageXOffset is an alias for scrollX.

Specification

Specification Status Comment
CSS Object Model (CSSOM) View Module
The definition of 'window.pageXOffset' in that specification.
Working Draft  

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
pageXOffsetChrome Full support 1Edge Full support 12Firefox Full support 1IE Full support 9Opera Full support 3Safari Full support 1WebView Android Full support 1Chrome Android Full support 18Firefox Android Full support 4Opera Android Full support 10.1Safari iOS Full support 1Samsung Internet Android Full support 1.0

Legend

Full support  
Full support

See also