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分鐘來完成更新 –