作者:mobiledu2502886233 | 来源:互联网 | 2022-03-31 04:56
一、SortTable说明 SortTable version 2 7th April 2007 Stuart Langridge, htt
一、SortTable说明
SortTable
version 2
7th April 2007
Stuart Langridge, http://www.kryogenix.org/code/browser/sorttable/
Instructions:
Download this file
Add to your HTML
Add class=”sortable” to any table you'd like to make sortable
Click on the headers to sort
Thanks to many, many people for contributions and suggestions.
Licenced as X11: http://www.kryogenix.org/code/browser/licence.html
This basically means: do what you want with it.
用法:将要排序的表格添加CSS,如
默认对所有列都会添加排序功能,对于不需要排序的列可添加CSS:”sorttable_nosort”,如 |
二、更新说明
Update:
version 2.1
9th Mar 2009
Hopesoft , http://www.51ajax.com/blog/
说明:
1.增加中文排序
2.增加指定各行使用不同css样式功能(比如奇偶行背景色不一致)
用法:在要表头浮动的表格上添加属性,如
3.增加表头浮动功能(支持同一个页面有多个表格,比如不同Tab标签下的各个表格)
用法:在要表头浮动的表格上添加CSS,如