0
请参阅this page,然后单击“表格”选项卡。添加样式到tablesorter
我想添加表示排序的三角形,像这样(http://datatables.net/blog/Twitter_Bootstrap_2),但我无法弄清楚。实际的排序工作,而不是造型。
我如何得到这个工作?
请参阅this page,然后单击“表格”选项卡。添加样式到tablesorter
我想添加表示排序的三角形,像这样(http://datatables.net/blog/Twitter_Bootstrap_2),但我无法弄清楚。实际的排序工作,而不是造型。
我如何得到这个工作?
你的表头瓦特/类.tablesorter-header
缺少这个CSS(改变图像的URL对你的需求):
table#national_universities_table thead tr .tablesorter-header {
background-image: url("images/bg.gif");
background-repeat: no-repeat;
background-position: right center;
cursor: pointer;
}
table#national_universities_table thead tr .tablesorter-headerAsc {
background-image: url("images/asc.gif");
}
table#national_universities_table thead tr .tablesorter-headerDesc {
background-image: url("images/desc.gif");
}
您的意思是否有桌子和#之间的空间? –
表和它的id之间不需要空格。 – eclipsis
我试着做你说的,指针光标的作用,但图像仍然不存在。请参阅我的网站更新:http://www.collegeanswerz.com/colleges。 给我2分钟来完成更新 –