Window.pageXOffset

You’re reading the English version of this content since no translation exists yet for this locale. Help us translate this article!

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 YesEdge Full support 12Firefox Full support YesIE Full support 9Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes

Legend

Full support  
Full support

See also