IE中实现图片的拖拽 - 我的世界我的梦 - CSDNBlog
...
function moveImage()...{
if(window.event.button!=1)...{
return;
}
with(window.event.srcElement.style)...{
//重新设置图像在浏览器中的位置
pixelLeft=window.event.x-236/2-document.all.ImageDiv.offsetLeft;
pixelTop=window.event.y-118/2-document.all.ImageDiv.offsetTop;
}
window.event.returnValue=false;//取消系统拖动事件
}
http://blog.csdn.net/daryl715/archive/2008/03/12/2175047.aspx
他们设置了哪些标签:
Javascript 图片的拖拽 我的收藏 小技巧
谁收藏了这个网址:
时间:2008-3-13 12:57:11 | 相关网摘
时间:2008-3-13 15:36:06 | 相关网摘
时间:2008-3-13 15:46:04 | 相关网摘
时间:2008-3-13 16:21:20 | 相关网摘
时间:2008-3-13 17:08:24 | 相关网摘
时间:2008-3-13 17:51:09 | 相关网摘
时间:2008-3-13 20:46:09 | 相关网摘
时间:2008-3-14 8:24:45 | 相关网摘
时间:2008-3-14 15:27:28 | 相关网摘
时间:2008-3-15 9:15:48 | 相关网摘
...
function moveImage()...{
if(window.event.button!=1)...{
return;
}
with(window.event.srcElement.style)...{
//重新设置图像在浏览器中的位置
pixelLeft=window.event.x-236/2-document.all.ImageDiv.offsetLeft;
pixelTop=window.event.y-118/2-document.all.ImageDiv.offsetTop;
}
window.event.returnValue=false;//取消系统拖动事件
}
时间:2008-3-15 22:53:58 | 相关网摘
时间:2008-3-16 1:22:36 | 相关网摘
使用标签:小技巧,时间:2008-3-16 9:30:20 | 相关网摘
IE中实现图片的拖拽
使用标签:图片的拖拽,时间:2008-3-16 10:08:04 | 相关网摘
IE中实现图片的拖拽
时间:2008-3-16 10:35:47 | 相关网摘
时间:2008-3-16 13:22:39 | 相关网摘
时间:2008-3-16 16:47:55 | 相关网摘
时间:2008-3-17 15:02:17 | 相关网摘
...
function moveImage()...{
if(window.event.button!=1)...{
return;
}
with(window.event.srcElement.style)...{
//重新设置图像在浏览器中的位置
pixelLeft=window.event.x-236/2-document.all.ImageDiv.offsetLeft;
pixelTop=window.event.y-118/2-document.all.ImageDiv.offsetTop;
}
window.event.returnValue=false;//取消系统拖动事件
}
时间:2008-3-18 9:55:32 | 相关网摘
时间:2008-3-18 16:58:27 | 相关网摘
图片托拽