- UID
- 18
- 帖子
- 306
- 积分
- 194
- 紫菀
- 0 朵
- 花瓣
- 308 片
- 花蕊
- 36 朵
- 野草莓
- 13 个
- 蒲公英
- 16 朵
- 社区等级
- 13 级
- 在线时间
- 38 小时
- 注册时间
- 2006-7-18
- 蜗居何地
- 大陆
- 登录状态
-
当前离线
|
没看 给你个正确的代码 你看吧。。
//鼠标滚动事件
function move(){
document.getElementById('LayerMove').style.pixelTop = document.body.scrollTop +100;
document.getElementById('LayerMove').style.pixelLeft = document.body.scrollLeft + 10;
document.getElementById('LayerClose').style.pixelTop = document.body.scrollTop +250;
document.getElementById('LayerClose').style.pixelLeft = document.body.scrollLeft + 90;
}
window.onscroll = move; |
|