技术文章
首页
关于我们
网站模板
客户案例
网站建设
程序开发
联系我们
技术文章
seo
asp.net
JavaSript
asp
网站建设
firefox中用javascript实现鼠标位置的定位
时间:2007-06-17 点击:162
/**
* 取得鼠标坐标
* @return Position
*/
function getMouseLocation(){
if(ns4||ns6){
mouseX = e.pageX;
mouseY = e.pageY;
}
else{
mouseX = event.x + document.body.scrollLeft;
mouseY = event.y + document.body.scrollTop;
}
return {x:mouseX,y:mouseY};
}
在strict下document.body要改成document.documentElement
用jscript实现列出安装的软件列表
List Information About the Binary Files Used by an Application
List the Codec Files on a Computer
Save a File Using a File Save Dialog Box
Locate a File Using a File Open Dialog Box
> 返回
地址:上海市普陀区胶州路941号长久商务中心 电话: QQ:
© Copyright 2012 上海网络
Product
All Rights Reserved