tags:

views:

35

answers:

2

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>
A: 

Script:

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

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.

Rob
These are the styles and images...by the title though, I think he's looking for the language localizations, not the stylesheets :)
Nick Craver
+1  A: 

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"&gt;&lt;/script&gt;

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

Nick Craver