Thursday, November 3, 2011

Google Libraries API

Load the API

To begin using the Libraries API, include the following script in the header of your web page. Enter your own Google API key where it says INSERT-YOUR-KEY.
Warning: This example won't work unless you use your own API key. In the example below, replace "INSERT-YOUR-KEY" with your own, unique key.

type="text/javascript" src=""
Next, you load the libraries. The preferred method is to load the libraries via standard , which will result in the fastest loads.
You can also load any number of libraries via google.load() as follows:
  google.load("chrome-frame", "1.0.2");
  google.load("dojo", "1.6.1");
  google.load("ext-core", "3.1.0");
  google.load("jquery", "1.6.4");
  google.load("jqueryui", "1.8.16");
  google.load("mootools", "1.4.1");
  google.load("prototype", "");
  google.load("scriptaculous", "1.9.0");
  google.load("swfobject", "2.2");
  google.load("yui", "3.3.0");
  google.load("webfont", "1.0.22");

0 коммент.:

Post a Comment

Powered by Blogger.