jquery 演示无法运行,怎么办?
我在这里找到了这个例子: http://tridubmedia.com/code/event/drag/ demo/resize2
,我尝试在 jsfiddle 中重现它。
我这样做的方法只是从示例的源视图中复制代码,问题是这不起作用。
问题是来自同一个 jquery 插件的其他示例在 jsfiddle 中工作正常。
我还将示例放在服务器上,但得到了相同的结果。
这个问题可能最终会成为一个愚蠢的问题,但我有点困惑为什么它在网站上运行而不是在我的尝试中运行。
有什么想法吗? 谢谢
i have this example found here: http://threedubmedia.com/code/event/drag/demo/resize2
and i tried to reproduce it in jsfiddle here.
the way i did it is just by copying the code from the source view of the example, and the problem is that is not working.
the issue is that others examples from the same jquery plugin work fine in jsfiddle.
I also placed the example on a server but i get the same result.
this question might end up being a stupid one, but i am a bit confuse why it is working on the website and not in my try.
any ideas?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我猜你正在使用 jQuery > 1.6 并且这个插件似乎与 jQuery 1.6 及以上版本不兼容。检查这个小提琴,我只将jQuery版本更改为1.5.2
I guess you're using jQuery > 1.6 and it seems this plugin is not compatible with jQuery 1.6 and above versions. Check this fiddle, I only changed jQuery version to 1.5.2