从google服务器加载jquery,可以提高网站性能? 事实上就是如此,通过Google的CDN服务来载入jquery库可以加快页面并行加载速度,减少加载延迟并获得更好的缓存。 英文说明:http://www.ajaxlines.com/ajax/stuff/article/_reasons_why_you_should_let_google_host_jquery_for_you.php <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <script type="......
使用jquery的ui创建图片幻灯片
引入jquery、jquery-ui <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" ></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js" ></script> 创建如下html结构 <div id="featured" > <ul class="ui-tabs-nav"> <li&......