blob: 0602fcf0a8f81e5281382f0f5d8a3736bce5f9cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
---
title: Window.pageXOffset
slug: Web/API/Window/pageXOffset
tags:
- API
- CSSOM
translation_of: Web/API/Window/pageXOffset
---
<div>{{ APIRef() }}</div>
<p>这是 <code><a href="/en-US/docs/Web/API/Window/scrollX">scrollX</a> 的别名</code></p>
<h2 id="Specification" name="Specification">规范</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{ SpecName('CSSOM View', '#dom-window-pagexoffset', 'window.pageXOffset') }}</td>
<td>{{ Spec2('CSSOM View') }}</td>
<td> </td>
</tr>
</tbody>
</table>
<h2 id="浏览器支持">浏览器支持</h2>
{{Compat("api.Window.pageXOffset")}}
<h2 id="See_also" name="See_also">相关链接</h2>
<ul>
<li><a href="/en-US/docs/Web/API/Window/pageYOffset"><code>window.pageYOffset</code></a></li>
</ul>
|