jquery 演示无法运行,怎么办?

发布于 2024-12-23 03:19:32 字数 450 浏览 5 评论 0原文

我在这里找到了这个例子: 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

你与清晨阳光 2024-12-30 03:19:32

我猜你正在使用 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文