急急****高价求自制的scroll,完全是html&css&js&img的,多谢多谢!!!****** http://webfx.eae.net/dhtml/scrollzoom/scrollzoom.html 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 没看懂你的意思,但可提供拖动原码<HTML><HEAD><META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0"><SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript><!--var ctl_drag=false;var currY=0;var currX=0;function ctl_onmousedown() { ctl_drag=true; currX=event.x-parseInt(event.srcElement.style.left); currY=event.y-parseInt(event.srcElement.style.top); }function ctl_onmouseup() { ctl_drag=false;}function ctl_onmouseout() { ctl_drag=false;}function ctl_onmousemove() { if(ctl_drag) { event.srcElement.style.left=event.x-currX; event.srcElement.style.top=event.y-currY; }}//--></SCRIPT></HEAD><BODY> <IMG id=span1 style="FONT-SIZE: 1px; LEFT: 169px; WIDTH: 100px; CURSOR: hand; POSITION: absolute; TOP: 300px; HEIGHT: 100px; BACKGROUND-COLOR: maroon" onmouseup="return ctl_onmouseup()" onmousemove="return ctl_onmousemove()" onmousedown="return ctl_onmousedown()" onmouseout="return ctl_onmouseout()"> </BODY></HTML> js用对象冒充实现继承如何理解,代码理解不了 window.open()的子窗口修改父窗口的变量值的问题 addEventListener问题 怎么把一个网站的内容发送到另一个网站呢 document.myform.mytextarea为空或不是对象? FireBug脚本调试的断点设置疑问 怎么用javascript来取内容 关于document.cookie 在一个FRAME中用脚本改变另个FRAME中的一个IFRAME的内容有多少中方法? vue-cli项目本地调试正常, build生成后报错 一个关于事件的捕获问题,谢谢 打印的问题
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--
var ctl_drag=false;
var currY=0;
var currX=0;function ctl_onmousedown() {
ctl_drag=true;
currX=event.x-parseInt(event.srcElement.style.left);
currY=event.y-parseInt(event.srcElement.style.top);
}
function ctl_onmouseup() {
ctl_drag=false;
}function ctl_onmouseout() {
ctl_drag=false;
}function ctl_onmousemove() {
if(ctl_drag)
{
event.srcElement.style.left=event.x-currX;
event.srcElement.style.top=event.y-currY;
}
}//-->
</SCRIPT>
</HEAD>
<BODY>
<IMG id=span1 style="FONT-SIZE: 1px; LEFT: 169px; WIDTH: 100px; CURSOR: hand; POSITION: absolute; TOP: 300px; HEIGHT: 100px; BACKGROUND-COLOR: maroon" onmouseup="return ctl_onmouseup()" onmousemove="return ctl_onmousemove()" onmousedown="return ctl_onmousedown()" onmouseout="return ctl_onmouseout()">
</BODY>
</HTML>