jQuery筛选排序插件listnav

所属分类:UI-筛选及排序

 42883  331  查看评论 (2)
分享到微信朋友圈
X
jQuery筛选排序插件listnav ie兼容8

使用方法

引用jquery库、jquery-listnav.js和所需样式到您的页面

<script src="js/jquery-1.11.0.min.js"></script>
<script src="js/jquery-listnav.js"></script>
<link rel="stylesheet" href="listnav.css">


代码列表:

<ul id="myList">...</ul>


关联插件对应id

<script>
    $("#myList").listnav();
</script>


选项

$("myList").listnav({
    initLetter: '',        // filter the list to a specific letter on init ('a'-'z', '-' [numbers 0-9], '_' [other])
    includeAll: true,      // Include the ALL button
    incudeOther: false,    // Include a '...' option to filter non-english characters by
    includeNums: true,     // Include a '0-9' option to filter by
    flagDisabled: true,    // Add a class of 'ln-disabled' to nav items with no content to show
    removeDisabled: false, // Remove those 'ln-disabled' nav items (flagDisabled must be set to true for this to function)
    noMatchText: 'No matching entries', // set custom text for nav items with no content to show
    showCounts: true,      // Show the number of list items that match that letter above the mouse
    cookieName: null,      // Set this to a string to remember the last clicked navigation item requires jQuery Cookie Plugin ('myCookieName')
    onClick: null,         // Set a function that fires when you click a nav item. see Demo 5
    prefixes: [],          // Set an array of prefixes that should be counted for the prefix and the first word after the prefix ex: ['the', 'a', 'my']
    filterSelector: ''     // Set the filter to a CSS selector rather than the first text letter for each item
});
相关插件-筛选及排序

jQuery图片筛选过滤器效果

jQuery选项卡形式图片按分类过滤
  筛选及排序
 37965  557

jquery仿app产品筛选列表

jquery仿app产品筛选列表
  筛选及排序
 54912  398

前端表格排序插件,支持ajax分页

jQuery前端表格排序插件,支持ajax分页,后端分页只排序当前页,或前端分页排序
  筛选及排序
 36635  366

仿当当移动端筛选

仿当当网移动端条件筛选
  筛选及排序
 39224  369

讨论这个项目(2)回答他人问题或分享插件使用方法奖励jQ币 评论用户自律公约

    LoLo_min 0
    2018/1/24 16:30:52

    列表是中文,没办法筛选出来,咋办

    回复
    Tortov Roddle 0
    2016/4/28 17:04:05
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
取消回复