jquery拖动层,改成拼图的时候,内元素为img为产生异常,求解?求高手 本帖最后由 ambition0326 于 2011-01-20 16:10:02 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 current = $(this); top=e.pageY-parseInt(current.css("top")); left=e.pageX-parseInt(current.css("left")); move=true; return false;如此便可 如果是被选中的问题在mousemove里window.getSelection?window.getSelection().removeAllRanges() : document.selection.empty();//清除选择 恩 ,加上这个就可以了 把同样位置替换成if(e.preventDefault)e.preventDefault(); else e.returnValue=false;即为:current = $(this); top=e.pageY-parseInt(current.css("top")); left=e.pageX-parseInt(current.css("left")); move=true; if(e.preventDefault)e.preventDefault(); else e.returnValue=false;只是还是不明天为什么 ,还望讲解下 求解啊??谢谢 求几个checkbox是否围成一个矩形(铺满里面的所有点) 大家都是怎么学JAVA web 开发的? 请教一个鼠标滑过的效果 有关document.charset的问题? 用javascript如何让图片充满整个页面? 内嵌real播放器出错! 有个框架页,左边是菜单,右边是内容,如何点击菜单变化右边内容时将框架页的<Title>也变化 知道了表格的id,如何删除一个表格? jQery创建元素时效率问题 JS选择器 js游戏编程高手请进 textarea的奇怪问题
top=e.pageY-parseInt(current.css("top"));
left=e.pageX-parseInt(current.css("left"));
move=true;
return false;
如此便可
在mousemove里
window.getSelection?window.getSelection().removeAllRanges() : document.selection.empty();//清除选择
恩 ,加上这个就可以了 把同样位置替换成
if(e.preventDefault)e.preventDefault();
else e.returnValue=false;
即为:current = $(this);
top=e.pageY-parseInt(current.css("top"));
left=e.pageX-parseInt(current.css("left"));
move=true;
if(e.preventDefault)e.preventDefault();
else e.returnValue=false;
只是还是不明天为什么 ,还望讲解下 求解啊??
谢谢