Darryl Hein
Darryl Hein

Reputation: 145107

Are the jQuery UI language files hosted on Google's CDN?

Do Google host the language files for jQuery UI or do I need host them myself?

If they do, is there a way to include them like this:

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script>

Upvotes: 3

Views: 2790

Answers (3)

Rob
Rob

Reputation: 5603

Script:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script>

Css:

<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/cupertino/jquery-ui.css" type="text/css" rel="Stylesheet" />

Images are relative to the stylesheet directory

See http://code.google.com/apis/ajaxlibs/documentation/index.html#jqueryUI for details.

Upvotes: 0

I guess this is what @Darryl wants :)

Here you have the i18n

Upvotes: 0

Nick Craver
Nick Craver

Reputation: 630579

You can find the language localizations hosted here: http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/i18n/jquery-ui-i18n.min.js

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/i18n/jquery-ui-i18n.min.js"></script>

Here's the uncompressed view in case you want to see what you're working with.

Upvotes: 3

Related Questions