Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果可以,请告诉我如何:
http://www.script-tutorials.com/html5-image-crop-tool/
好吧,我不知道你为什么需要它,但你需要使用HTML DOM/鼠标事件而不是 jQuery 事件:
object.onmousemove
对象.onmouseup
对象.onmousedown
您还需要使用中间函数而不是 jQuery 文档就绪快捷方式$(function(){...}):
$(function(){...})
(function(){ // ... your code goes here })()