blob: 44048dfe03feab1ffff5f0afefeaf746a9159fee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
---
title: Window.screenX
slug: Web/API/Window/screenX
translation_of: Web/API/Window/screenX
---
<div>
{{APIRef}}</div>
<h2 id="Summary" name="Summary">概述</h2>
<p>返回浏览器左边界到操作系统桌面左边界的水平距离。</p>
<h2 id="Syntax" name="Syntax">语法</h2>
<pre class="syntaxbox"><i>lLoc</i> = window.screenX
</pre>
<ul>
<li><code>lLoc</code> 为浏览器左边到系统桌面左边的像素值</li>
</ul>
<h2 id="Specification" name="Specification">规范</h2>
<p>{{dom0}}</p>
<h2 id="See_also" name="See_also">相关链接</h2>
<ul>
<li>{{domxref("Window.screenY")}}</li>
</ul>
|