zoukankan      html  css  js  c++  java
  • 谷歌的JQuery库

    为了实现各种绚丽的效果,你的网站是否调用了众多的Ajax库呢?尽管这样做能是你的网站增色不少,但几十K的Ajax库也会让你的网站丢失速度。既然如此,那我们到底是要速度还是要特效呢?

      今天就大家介绍一个两全其美的办法。

       一般的网站都只是调用各种Ajax库,并不用对其内容进行修改,所以我们可以借助第三方服务器上的Ajax库。Google Code就给我们提供了各种Ajax库的托管链接,我们可以直接调用这些链接而不用把整个库上传到主机,大大减少主机的压力,对于速度较慢的主机效果很明 显哦。当然,如果你的主机足够强劲以至于能和Google媲美的话,我建议还是把库放在自己主机上。

      这里给大家整理在Google托管的各种Ajax库,大家也可以到Google Code看看详细信息。

    注:每个版本的两个链接中,第一个是压缩版的,第二个是完全版,可用于二次开发。建议调用时使用压缩版,体积减小很多,但没有功能阉割。

    jQuery
    1.4.4

    http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js

    http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.js

    1.3.1

    http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js

    http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.js

    1.3.0

    http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js

    http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.js

    1.2.6

    http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js

    http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js

    1.2.3

    http://ajax.googleapis.com/ajax/libs/jquery/1.2.3/jquery.min.js

    http://ajax.googleapis.com/ajax/libs/jquery/1.2.3/jquery.js

    jQuery UI (此库依赖于jQuery。载入jQuery UI模块需先载入之前jQuery模块。)
    1.5.3

    http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js

    http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.js

    1.5.2

    http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.2/jquery-ui.min.js

    http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.2/jquery-ui.js

    MooTools
    1.2.1

    http://ajax.googleapis.com/ajax/libs/mootools/1.2.1/mootools-yui-compressed.js

    http://ajax.googleapis.com/ajax/libs/mootools/1.2.1/mootools.js

    1.11

    http://ajax.googleapis.com/ajax/libs/mootools/1.11/mootools-yui-compressed.js

    http://ajax.googleapis.com/ajax/libs/mootools/1.11/mootools.js

    Prototype
    1.6.0.3

    http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js

    1.6.0.2

    http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js

    script.aculo.us
    注:此库依赖于Prototype。载入script.aculo.us模块需先载入之前Prototype模块。
    1.8.2

    http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.2/scriptaculous.js

    1.8.1

    http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.1/scriptaculous.js

    dojo
    1.2.3

    http://ajax.googleapis.com/ajax/libs/dojo/1.2.3/dojo/dojo.xd.js

    http://ajax.googleapis.com/ajax/libs/dojo/1.2.3/dojo/dojo.xd.js.uncompressed.js

    1.2.0

    http://ajax.googleapis.com/ajax/libs/dojo/1.2.0/dojo/dojo.xd.js

    http://ajax.googleapis.com/ajax/libs/dojo/1.2.0/dojo/dojo.xd.js.uncompressed.js

    1.1.1

    http://ajax.googleapis.com/ajax/libs/dojo/1.1.1/dojo/dojo.xd.js

    http://ajax.googleapis.com/ajax/libs/dojo/1.1.1/dojo/dojo.xd.js.uncompressed.js

    SWFObject
    2.1

    http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js

    http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject_src.js

    Yahoo! 用户界面库 (YUI)
    2.6.0

    http://ajax.googleapis.com/ajax/libs/yui/2.6.0/build/yuiloader/yuiloader-min.js

    http://ajax.googleapis.com/ajax/libs/yui/2.6.0/build/yuiloader/yuiloader.js

  • 相关阅读:
    (整理)REHL6.5_Yum安装Reids
    (整理)REHL6.5_安装本地yum
    (转)MSSQLSERVER执行计划详解
    (转)SQLServer_十步优化SQL Server中的数据访问四
    (转)SQLServer_十步优化SQL Server中的数据访问五
    (转)SQLServer_十步优化SQL Server中的数据访问 三
    (转)SQLServer_十步优化SQL Server中的数据访问 二
    (转)SQLServer_十步优化SQL Server中的数据访问一
    (转)EF5+SQLserver2012迁移到EF6+mysql5.5.47
    (整理)MySQL_REHL6.5 MySQL5.5 中文支持问题
  • 原文地址:https://www.cnblogs.com/webu/p/2754030.html
Copyright © 2011-2022 走看看