mercredi 9 novembre 2011

Load jQuery UI theme from Google

The Google Libraries API allows you to load jQuery and jQuery UI. What is not documented is that you can also load jQuery UI theme with a simple <link> tag.
<head><script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js">
</script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js">
</script>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/redmond/jquery-ui.css" rel="Stylesheet" type="text/css"></link>
...
</head>
That's it.

0 commentaires:

Enregistrer un commentaire