惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

I
Intezer
V
Vulnerabilities – Threatpost
Google Online Security Blog
Google Online Security Blog
T
The Exploit Database - CXSecurity.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
AWS News Blog
AWS News Blog
G
GRAHAM CLULEY
P
Privacy & Cybersecurity Law Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
Cybersecurity and Infrastructure Security Agency CISA
N
News | PayPal Newsroom
T
Tenable Blog
Spread Privacy
Spread Privacy
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
S
Secure Thoughts
P
Privacy International News Feed
IT之家
IT之家
Project Zero
Project Zero
T
The Blog of Author Tim Ferriss
Engineering at Meta
Engineering at Meta
大猫的无限游戏
大猫的无限游戏
博客园_首页
GbyAI
GbyAI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
量子位
雷峰网
雷峰网
Apple Machine Learning Research
Apple Machine Learning Research
Hacker News: Ask HN
Hacker News: Ask HN
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
N
Netflix TechBlog - Medium
Martin Fowler
Martin Fowler
NISL@THU
NISL@THU
I
InfoQ
D
DataBreaches.Net
有赞技术团队
有赞技术团队
K
Kaspersky official blog
Security Latest
Security Latest
The Register - Security
The Register - Security
Hugging Face - Blog
Hugging Face - Blog
S
Security @ Cisco Blogs
P
Proofpoint News Feed
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
AI
AI
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Proofpoint News Feed
Security Archives - TechRepublic
Security Archives - TechRepublic
N
News and Events Feed by Topic

博客园 - 自信飞扬

mac 10.8 编译提示找不到GCC .NET Framework 4.5 五个很棒的特性 easyui datagrid json 格式 IE打印 javascript 解析json javascript 函数toFixed javascript操作select和AjaxPro返回数组点滴 详读《.NET 设计规范》 javascript刷新验证码 关于打包winfrom 程序的注意事项 WCF协议 apache编译参数 asp.net中应用jquery + ashx的传值 - 自信飞扬 获取应用程序所在的物理路径 静止输入法切换的CSS 防止DIV被撑开的CSS asp.net ajax MSDN帮助 asp.net 角色管理 MSDN帮助路径 CSS设置DIV中写入字符自动换行 - 自信飞扬 - 博客园
获取鼠标坐标
自信飞扬 · 2010-01-12 · via 博客园 - 自信飞扬

获取鼠标坐标

function mousePos(e){ 
	var x,y;
	var e = e||window.event;
	return { 
		x:e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,
		y:e.clientY+document.body.scrollTop+document.documentElement.scrollTop 
	};
}
园子里看到的,据博主讲,兼容IE FF  chrome,
http://www.cnblogs.com/mingda/archive/2010/01/12/javascript_mouse_position_function.html
本人还没测试

posted on 2010-01-12 20:22  自信飞扬  阅读(210)  评论(0)    收藏  举报