Hi, I am planning on using google to download the jquery lib for both ui and core. My question do they allow me to download the css for it or should I have to host it.
Also if I use google to load how should I load other plugins..onemore, can I compress all plugins together or should it be its own separate file
THnks
-
I would think so. Why not? Wouldn't be much of a CDN w/o offering the CSS to support the script files
This link suggests that they are:
We find it particularly exciting that the jQuery UI CSS themes are now hosted on Google's Ajax Libraries CDN.
coool : I tried adding loading it using google load statement...would not load the css....checked it.Scott Evernden : here's an example url that seems to work: http://ajax.googleapis.com/ajax/libs/jqueryui/1.7/themes/smoothness/jquery-ui.css -
The Google AJAX Libraries API, which includes jQuery UI, also includes popular themes as per the jQuery UI blog:
CSS framework and themes on Google AJAX Libraries API
As before, the latest stable release of jQuery UI (now 1.7) is hosted on Google’s CDN. New in this release, however, Google is also hosting the new jQuery UI CSS Framework, as well as our current suite of pre-built themes: base, black-tie, blitzer, cupertino, dot-luv, excite-bike, hot-sneaks, humanity, mint-choc, redmond, smoothness, south-street, start, swanky-purse, trontastic, ui-darkness, ui-lightness, and vader.
coool : 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.7/themes/smoothness/jquery-ui.css'Sam Hasler : URLs for 1.7.2 here: http://blog.jqueryui.com/2009/06/jquery-ui-172/Xavi : BTW, google is also hosting CSS themes for jquery ui 1.8.2 as well: http://the-xavi.com/articles/jquery-ui-css-themes-hosted-on-cdn
0 comments:
Post a Comment