2009年11月2日 星期一

透過 google.load() 載入 jQuery

jQuery

name: jquery
versions: 1.2.3, 1.2.6, 1.3.0
load request: google.load("jquery", "1.3.0");
extras: uncompressed:true, e.g., google.load("jquery", "1.3.0", {uncompressed:true});
path: http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js
path(u): http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.js
site: http://jquery.com/
note: 1.2.5 and 1.2.4 are not hosted due to their short and unstable lives in the wild...


jQuery UI

name: jqueryui
versions: 1.5.2, 1.5.3
load request: google.load("jqueryui", "1.5.3");
extras: uncompressed:true, e.g., google.load("jqueryui", "1.5", {uncompressed:true});
path: http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js
path(u): http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.js
site: http://ui.jquery.com/
note: This library depends on jquery. Before loading this module, you must load jquery. e.g.:

<script src="http://www.google.com/jsapi"></script>

<script type="text/javascript">

google.load("jquery", "1.3");

google.load("jqueryui", "1.5");

</script>

【下列文章您可能也有興趣】

沒有留言: