admin管理员组文章数量:1334328
Can jQuery-UI safely be used without including the CSS assets? Google hosts the JS file, but I don't see any references on that page to the jQuery-UI CSS resources. What problems or issues can I expect if I include only jquery-ui.js?
Can jQuery-UI safely be used without including the CSS assets? Google hosts the JS file, but I don't see any references on that page to the jQuery-UI CSS resources. What problems or issues can I expect if I include only jquery-ui.js?
Share Improve this question asked Jun 2, 2011 at 15:53 Jay TaylorJay Taylor 13.6k11 gold badges63 silver badges85 bronze badges 4- 2 By "safely," do you mean "will it have the right appearance?" - no. – Matt Ball Commented Jun 2, 2011 at 15:57
- 2 The CSS files are also hosted: stackoverflow./questions/820412/… – Ateş Göral Commented Jun 2, 2011 at 15:58
- 2 One problem is that your site will look horrible. – Pointy Commented Jun 2, 2011 at 16:04
- stackoverflow./questions/1424981/… – Student Commented Sep 4, 2018 at 22:54
1 Answer
Reset to default 8You'd go from something like this (with jQuery UI CSS):
To something like this (no jQuery UI CSS):
Use the link @Ates Goral posted in ments
or
Xavi - Links to jQuery UI CSS themes hosted on Google's CDN
for a hosted stylesheet
Update:
For reference sake, the path for the Google CDN jQuery UI CSS is
http:// ajax.googleapis./ajax/libs/jqueryui/[version]/themes/[theme]/jquery-ui.css
example:
http://ajax.googleapis./ajax/libs/jqueryui/1.8.13/themes/base/jquery-ui.css
Versions:
1.5.2, 1.5.3, 1.6.0, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.8.0, 1.8.1, 1.8.2, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.8.10, 1.8.11, 1.8.12, 1.8.13
Themes:
base, 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, vader
本文标签: javascriptCan jQueryUI safely be used without the CSS assetsStack Overflow
版权声明:本文标题:javascript - Can jQuery-UI safely be used without the CSS assets? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742370132a2462073.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论