视口属性 [英] viewport properties

查看:93
本文介绍了视口属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对不起,如果这是常见问题,我不知道

faq在哪里...我如何得到x,y,宽度和
$ b 视口的$ b高度?你知道,可以滚动的可查看的

窗口。在跨浏览器时尚,

当然。


谢谢。

Dean Hoover

Sorry if this is in a faq, I don''t know where the
faq is... How do I get the x, y, width, and
height of the "viewport"? You know, the viewable
window that may be scrolled. In cross browser fashion,
of course.

Thanks.
Dean Hoover

推荐答案

Dean A. Hoover写道:
Dean A. Hoover wrote:
对不起,如果这是常见问题,我不知道
常见问题是...如何获得视口的x,y,宽度和
高度?你知道,可以滚动的可查看窗口。在跨浏览器时尚,
当然。

谢谢。
Dean Hoover
Sorry if this is in a faq, I don''t know where the
faq is... How do I get the x, y, width, and
height of the "viewport"? You know, the viewable
window that may be scrolled. In cross browser fashion,
of course.

Thanks.
Dean Hoover




常见问题解答在这里:

http://jibbering.com/faq/


项目4.9应该让你开始......



The FAQ is here:

http://jibbering.com/faq/

Item 4.9 should get you started...


RobG写道:
Dean A. Hoover写道:
Dean A. Hoover wrote:
很抱歉,如果这是常见问题解答,我不知道
常见问题解答在哪里...我如何得到x,y,宽度和
视口的高度?你知道,可以滚动的可查看窗口。当然是跨浏览器时尚。

谢谢。
Dean Hoover
Sorry if this is in a faq, I don''t know where the
faq is... How do I get the x, y, width, and
height of the "viewport"? You know, the viewable
window that may be scrolled. In cross browser fashion,
of course.

Thanks.
Dean Hoover



常见问题解答在这里:

http://jibbering.com/faq/


The FAQ is here:

http://jibbering.com/faq/

Item 4.9 should get you started...




谢谢。在Item 4.9的组合代码中,如果最后一个if语句为false,那么它是什么呢?
是什么意思?变量确定

未定义...


Dean



Thanks. In the combined code for Item 4.9, what does it
mean if the last if statement is false? The variables do
not get defined...

Dean


9月17日星期五2004年13:25:25 GMT,Dean A. Hoover< dh ******* @ yahoo.com>

写道:


[ snip]
On Fri, 17 Sep 2004 13:25:25 GMT, Dean A. Hoover <dh*******@yahoo.com>
wrote:

[snip]
谢谢。在[FAQ] Item 4.9的组合代码中,如果最后一个if语句为false,这意味着什么?变量没有定义...
Thanks. In the combined code for [FAQ] Item 4.9, what does it mean if
the last if statement is false? The variables do not get defined...




基本上,是的。变量将存在,但它们没有价值。

然而,我不知道有多少机会发生这种情况。对于这种

专有信息,大多数

浏览器都遵循Microsoft或Netscape。


Mike


-

Michael Winter

替换.invalid与.uk通过电子邮件回复。



Basically, yes. The variables will exist, but they won''t have a value.
However, I don''t know how much chance there is of that happening. Most
browsers follow either Microsoft or Netscape with regard to this sort of
proprietary information.

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.


这篇关于视口属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆