jQuery UI Themes on Google's CDN

I have been using Google’s CDN (Content Delivery Network) for a while now for jQuery and jQuery UI JavaScript files.

I would then host the jQuery UI themes locally. But I discovered that the stylesheets and images for jQuery UI are also hosted on Google’s CDN.

Add a standard link tag with this URL, change the version of jQuery UI you want to use. The latest as of April 2013 is 1.10.2.

Change the theme to the name of the theme from the canned themes on the jQuery UI site.

1
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/themes/smoothness/jquery-ui.css" rel="stylesheet" type="text/css" />

Enjoy!