确定任何控件的确切位置和当前状态 [英] Determining the exact location and current state of any controls

查看:78
本文介绍了确定任何控件的确切位置和当前状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人告诉我,确定任何

JavaScript控件的确切位置和当前状态非常简单。有没有人确切知道这是怎么做的?

Someone told me that determining the exact location and current state of any
JavaScript controls is pretty easy. Does anyone know exactly how this is done?

推荐答案

Peter Olcott于2006年8月15日在comp.lang.javascript中写道
Peter Olcott wrote on 15 aug 2006 in comp.lang.javascript:

有人告诉我,确定任何JavaScript控件的确切位置和当前状态

非常简单。有没有人确切知道

如何做到这一点?
Someone told me that determining the exact location and current state
of any JavaScript controls is pretty easy. Does anyone know exactly
how this is done?



Javascript没有控件。


也许您使用的是asp.net控件?


在microsoft.public.dotnet.framework.aspnet上试试。


-

Evertjan。

荷兰。

(请在我的电子邮件地址中将x'变为点数)

Javascript has no controls.

Perhaps you are using asp.net controls?

Try over at microsoft.public.dotnet.framework.aspnet.

--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)


Peter Olcott写道:
Peter Olcott wrote:

有人告诉我,确定任何JavaScript控件的确切位置和当前状态

非常简单。有没有人确切知道

如何做到这一点?
Someone told me that determining the exact location and current state
of any JavaScript controls is pretty easy. Does anyone know exactly
how this is done?



取决于。在某些情况下,找到位置很容易。在其他情况下,它不是那么简单。


处理大多数情况以查找对象位置的通用代码可以

可在此处找到:
http://www.javascripttoolbox .com / lib / objectposition /

你对当前状态的含义太过模糊了。意味着什么是javascript

控制比这更有帮助。


-

Matt Kruse
http://www.JavascriptToolbox.com
http://www.AjaxToolbox.com

Depends. In some cases, finding location is easy. In others, it''s not so
easy.

Generalized code which handles most cases to find an object''s location can
be found here:
http://www.javascripttoolbox.com/lib/objectposition/

You''re too vague about what "current state" means and what "javascript
controls" are to be more helpful than that.

--
Matt Kruse
http://www.JavascriptToolbox.com
http://www.AjaxToolbox.com




Evertjan。 < ex ************** @ interxnl.netwrote in message

news:Xn **************** **** @ 194.109.133.242 ...

"Evertjan." <ex**************@interxnl.netwrote in message
news:Xn********************@194.109.133.242...

Peter Olcott于2006年8月15日在comp.lang.javascript中写道

>有人告诉我,确定任何JavaScript控件的确切位置和当前状态非常简单。有谁确切知道这是怎么做的?
>Someone told me that determining the exact location and current state
of any JavaScript controls is pretty easy. Does anyone know exactly
how this is done?



Javascript没有控件。


也许你正在使用asp.net控件?


在microsoft.public.dotnet.framework.aspnet上试试。


-

Evertjan。

荷兰。

(请将我的电子邮件地址中的x'变为点数)


Javascript has no controls.

Perhaps you are using asp.net controls?

Try over at microsoft.public.dotnet.framework.aspnet.

--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)



我需要这个才能适用于每个网页。我听说Ajax可以做到这一点,并且

JavaScript是Ajax的一部分。

I need this to work for every webpage. I heard that Ajax can do this, and
JavaScript is a part of Ajax.


这篇关于确定任何控件的确切位置和当前状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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