Reputation: 145107
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
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
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