jQuery TableSorter:排序箭头不显示 [英] JQuery TableSorter: The sorting arrows don't show

查看:95
本文介绍了jQuery TableSorter:排序箭头不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在实现jQuery的表排序器,但是箭头似乎无法显示.

I am implementing jQuery's tablesorter, but the arrows can't seem to show.

这是我到目前为止所做的:

Here is what I've done so far:

<script type="text/javascript" src="/path/to/jquery-latest.js"></script> 
<script type="text/javascript" src="/path/to/jquery.tablesorter.js"></script>

$(document).ready(function() 
    { 
        $("#myTable").tablesorter(); 
    } 
); 

该表排序良好,但未显示箭头.我在这里想念什么吗?
我什至添加了以下内容,但没有起作用:

The table sorts fine but the arrows don't show. Am I missing something here?
I even added the following but didn' work:

<LINK rel="StyleSheet" type="text/css" href="../tablesorter/themes/green/style.css"> 

推荐答案

在此页面上使用表排序器时,我遇到了相同的问题-下载中添加的样式表和图像.看起来也一样.

I had the same problem when using tablesorter on this page - http://ajthomas.co.uk/fpl/. However, it's because I missed adding the stylesheets and images that come in the download. It looks like you did, too.

这篇关于jQuery TableSorter:排序箭头不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆