javascript - Can jQuery-UI safely be used without the CSS assets? - Stack Overflow

Can jQuery-UI safely be used without including the CSS assets?Google hosts the JS file, but I don

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
Add a ment  | 

1 Answer 1

Reset to default 8

You'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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742370133a4431100.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信