SelectBetween
- 授权协议: 未知
- 开发语言:
- 操作系统: 未知
- 软件首页: http://plugins.jquery.com/project/SelectBetween
软件介绍
A simple extension that allows you to select elements between and including two indexes.
I've also included except, which will get all elements except for the ones specified in the range provided.
Current version is 1.0
Example usage:
This will get the rows 1 and 2, and color the elements between 2, 3, 4 and 5 and elements 10, 11, 12 and 13
$("table tr:between(1,2)").find("td:between(2,5), td:between(10,13)").css("background-color", "red");
The following will color all rows except 1 and 2 and all elements less than 2 and greater than 5.
$("tr:except(1,2)").find("td:except(2,5)").css("background-color", "green");
The plugin will automatically get the lowest value of the params passed.
So if you use :between(50, 8) it will get 8 to 50.
Note: Indexes are an interesting animal! They change based on the first selector. It might take a little time to understand indexes with jquery if you haven't dealt with them before.
HTML5与CSS3基础教程(第7版)
[美] Elizabeth Castro、[美] Bruce Hyslop / 望以文 / 人民邮电出版社 / 2013-1 / 59.00元
代表下一代网页编写技术的HTML5,为网页提供布局和格式的CSS3,这两者构成了Web开发的基石,也是Web程序员和设计师必须熟练掌握的最基本技能。 本书是风靡全球的HTML和CSS最佳入门教程的最新版,上一版单单英文版的销量就超过100万册,被翻译为十多种语言,并长期雄踞亚马逊书店计算机图书排行榜榜首。 最新的第7版秉承前一版直观、透彻、全面、循序渐进的讲授特色,仍然采用独特的双栏图......一起来看看 《HTML5与CSS3基础教程(第7版)》 这本书的介绍吧!
