熟人
中级会员
 
UID 92185
精华
0
积分 332
帖子 476
金钱 332 喜悦币
威望 0
人脉 0
阅读权限 30
注册 2007-4-29
状态 离线
|
[推荐阅读] 剛想進門的, 請幫手修改一下. 謝謝.
我没有仔细看你的代码
我写过一段需要获取鼠标坐标的代码 你可以参照一下
objs[i].onmousemove = function(e){
var _y = null != window.event ? window.event.y : e.clientY;
var _x = null != window.event ? window.event.x : e.clientX;
with(console.style){
background = "#CCCCCC";
top = _y + 10 + "px";
left = _x + 10 + "px";
}
if(null != this.title){
img.style.width = "200px";
}
}
|  性格:馋 懒 奸 猾 坏
兴趣:吃 喝 嫖 赌 抽
职业:坑 蒙 拐 骗 偷 |
|