取得图片的新位置。方法不太清楚
记录到coolie中,
记录到coolie中,
解决方案 »
- 在ie下,可以的代码,可在firefox下不行.求帮助?
- 用JavaScript删除下拉框里的内容
- event.keyCode 在FF中使用的问题...
- 图片上下滚动后提示信息不再出现
- 如何使层居中?或者使底下的层不可操作?
- 用js动态增加table,怎么设置成在同一行啊???
- 请问,如何用JS获得kindeditor编辑框内的第一个img标签的src???
- easyui的图标问题
- document.location.reload() 火狐下为什么不支持刷新
- 如何实现选择下拉菜单选项触发提交表单操作
- 一行字向左移動的javascript代碼怎么寫?
- 高手请进!!!判断手机号码问题!!!!!!!!!!!!!!
var xx=0,yy=0
</script>
<img src="http://free.cnyys.com/my/killerj/new/images/me.jpg"
style='position:absolute;'
ondragstart="setCapture();xx=event.x-this.offsetLeft;yy=event.y-this.offsetTop;" ondrag='this.style.left=event.x-xx;this.style.top=event.y-yy'
ondragend="releaseCapture();woyingjie(this.style.left,this.style.top)"><script>
function woyingjie(x,y){
var o=document.form1;
o.x.value=x;
o.y.value=y;
o.submit();
}
</script><form name=form1>
<input type=hidden name=x>
<input type=hidden name=y>
</form>
图层定位入库
---http://free.cnyys.com/my/killerj/guestmap/index.htm
可以参考我的guestmap