JQuery UI 和 JQuery 工具可以一起工作吗? [英] Can JQuery UI and JQuery tools work together?

查看:22
本文介绍了JQuery UI 和 JQuery 工具可以一起工作吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

JQuery UI 和 JQuery 工具可以一起工作吗?IE.如果我在一个页面上包含两个库,它仍然有效吗?

Can JQuery UI and JQuery tools work together? I.e. If I include both libraries on one page, will it still work?

推荐答案

它们可以一起使用. 问题是在两个库中都创建了一个 jquery.tabs.该冲突导致第二个脚本无法加载.您必须转到 http://jquerytools.org/download/ 来构建自定义下载并且不要包括选项卡.我刚刚遇到了这个问题,并且能够通过这样做来解决它.

They can be used together. The problem is that there is a jquery.tabs created in both libraries. That conflict causes the second script to not load. You have to go to http://jquerytools.org/download/ to build a custom download and do not include tabs. I just had this problem and was able to resolve it by doing this.

唯一的缺点是您无法使用 CDN,因为您不得不下载自定义 JS 文件并将其包含在您的网站中.

The only downside is you can't use the CDN, since you're stuck downloading a custom JS file and including it in your site.

这篇关于JQuery UI 和 JQuery 工具可以一起工作吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆