Posts Tagged ‘jQuery’

2008-07-20

Visual jQuery 1.1 for jQuery 1.1
Visual jQuery 1.1 for jQuery 1.1.2
jQuery 1.2 API 参考文档中文版

我发现在 visualjquery.com 上 浏览 与 下载 的由一个小小的区别,就是body描述不尽相同,如上链接所示,小版本号的变化。
中文参考文档由 jQuery 中文社区 维护发布。学习的手册有了,再找下工具,就该开始学习了。
已经有了第一个学习代码 – 表格隔行换色

01 <script type=“text/javascript” src=“jquery.js”></script>
02
03 <script type=“text/javascript”>
04
05 $(document).ready(function(){
06
07 $(“.stripe_tb tr”).mouseover(function(){
08
09 //如果鼠标移到class为stripe_tb的表格的tr上时,执行函数
10
11 $(this).addClass(“over”);}).mouseout(function(){
12
13 //给这行添加class值为over,并且当鼠标一出该行时执行函数
14
15 $(this).removeClass(“over”);}) //移除该行的class
16
17 $(“.stripe_tb tr:even”).addClass(“alt”);
18
19 //给class为stripe_tb的表格的偶数行添加class值为alt
20
21 });
22
23 </script>

以上代码并没有用WordPress的插件生成,而是由 半瓶墨水 开发的 代码发芽网 生成,效果不错。

Tags: .

Description
jQuery is a powerful JavaScript library that can enhance your websites regardless of your background. In this book, creators of the popular jQuery learning resource, learningquery.com, share their knowledge, experience, and enthusiasm about jQuery to help you get the most from the library and to make your web applications shine. For designers, jQuery leverages existing [...]

Tags: .