从 Google 的 CDN 下载 jQuery UI CSS [英] Downloading jQuery UI CSS from Google's CDN
问题描述
我打算使用 Google 下载 UI 和 Core 的 jQuery 库.我的问题是,他们允许我为它下载 CSS 还是我必须自己托管它?
I am planning on using Google to download the jQuery lib for both UI and Core. My question is, do they allow me to download the CSS for it or should I have to host it myself?
另外,如果我使用 Google 加载,我应该如何加载其他插件?我可以将所有插件压缩在一起还是应该是它自己的单独文件?
Also if I use Google to load how should I load other plugins? Can I compress all plugins together or should it be its own separate file?
推荐答案
包含 jQuery UI(当前为 v1.10.3)的 Google AJAX 库 API 还包含了 jQuery UI 博客:
The Google AJAX Libraries API, which includes jQuery UI (currently v1.10.3), also includes popular themes as per the jQuery UI blog:
Google Ajax 库 API (CDN)
压缩:http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js
未压缩的主题:黑色领带, blitzer,
Themes Uncompressed: black-tie, blitzer, cupertino, dark-hive, dot-luv, eggplant, excite-bike, flick, hot-sneaks, humanity, le-frog, mint-choc, overcast,pepper-grinder, redmond, smoothness, south-street, start, sunny, swanky-purse, trontastic, ui-darkness, ui-lightness, and vader.
主题压缩:黑色领带, blitzer, cupertino, dark-hive, dot-luv, 茄子,excite-bike,轻弹、热门潜行、人性,le-frog, mint-choc, 阴天,胡椒研磨器,redmond, 平滑度,south-street,start, sunny, 时髦钱包,trontastic,ui-darkness, ui-lightness 和 vader.
Themes Compressed: black-tie, blitzer, cupertino, dark-hive, dot-luv, eggplant, excite-bike, flick, hot-sneaks, humanity, le-frog, mint-choc, overcast,pepper-grinder, redmond, smoothness, south-street, start, sunny, swanky-purse, trontastic, ui-darkness, ui-lightness, and vader.
这篇关于从 Google 的 CDN 下载 jQuery UI CSS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!