{"_id":"jquery-listnav","_rev":"3-945a616e2df1cbcfcb0f6c63c42e86c8","name":"jquery-listnav","description":"Add a slick \"letter-based\" navigation bar to all of your lists. Click a letter to quicky filter the list to items that match that letter. Updated for better compatibility with future jQuery versions.","dist-tags":{"latest":"2.4.10"},"versions":{"2.4.10":{"name":"jquery-listnav","title":"jQuery ListNav","version":"2.4.10","author":{"name":"Eric Steinborn"},"description":"Add a slick \"letter-based\" navigation bar to all of your lists. Click a letter to quicky filter the list to items that match that letter. Updated for better compatibility with future jQuery versions.","demo":"http://esteinborn.github.io/jquery-listnav","repository":{"type":"git","url":"git+https://github.com/esteinborn/jquery-listnav.git"},"devDependencies":{"grunt":"*","grunt-contrib-watch":"*","grunt-sass":"*","grunt-contrib-copy":"*","grunt-contrib-jshint":"*","grunt-contrib-uglify":"*","grunt-contrib-cssmin":"*","grunt-contrib-csslint":"*","matchdep":"*"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"},{"type":"GPL","url":"http://www.gnu.org/licenses/gpl.html"}],"gitHead":"389adda148d5e3f13de59b67af990f5dd2692e04","bugs":{"url":"https://github.com/esteinborn/jquery-listnav/issues"},"homepage":"https://github.com/esteinborn/jquery-listnav#readme","_id":"jquery-listnav@2.4.10","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"msanchez","email":"msanchez@aplyca.com"},"maintainers":[{"name":"msanchez","email":"msanchez@aplyca.com"}],"dist":{"integrity":"sha512-n4eNxlfGrLCtSrfSTXtlrp/9qV2fuIeDy2ultAGw9ZSPjDuRV1jGuxb9TDYv7HriNfVR1o+QnFGArqaZB3MG7g==","shasum":"f9eba37df1caaa10cb9130ef02dbf02d42a80eca","tarball":"https://registry.npmjs.org/jquery-listnav/-/jquery-listnav-2.4.10.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTX4pEmnEon8Kzg+B5NaoHx6ZmDNVF4XBpCd1qZk3s3gIhAKP4hPgf0SoURMmuG/0PgHQrEeW8yBrRzZGmI8okKosx"}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jquery-listnav-2.4.10.tgz_1503954740067_0.9780375470872968"},"directories":{}}},"readme":"# jQuery ListNav [![Travis Build](https://travis-ci.org/esteinborn/jquery-listnav.png?branch=master)](https://travis-ci.org/esteinborn/jquery-listnav) [![Built with GruntJS](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com)\n\n> jQuery ListNav will add a slick \"letter-based\" navigation bar to all of your lists. Click a letter to quickly filter the list to show items that match that letter.\n\n[View the ListNav Demo](http://esteinborn.github.io/jquery-listnav)\n\n### Install using Bower\n\n`bower install jquery-listnav`\n\n## Manual Install\n#### Insert into &lt;Head&gt;:\n<pre><code>&lt;link rel=\"stylesheet\" href=\"listnav.css\"&gt;</code></pre>\n\n#### Code up your list:\n<pre><code>&lt;ul id=\"myList\"&gt;...&lt;/ul&gt;</code></pre>\n\n#### Insert before &lt;/body&gt;:\n<pre><code>&lt;script src=\"jquery-listnav.min.js\"&gt;&lt;/script>\n&lt;script&gt;\n\t$(\"#myList\").listnav();\n&lt;/script&gt;</code></pre>\n\n#### Navigation:\n\nThe navigation defaults to being placed directly above your list element. You can place the navigation in a place of your choice by adding to your markup.\n\n<pre><code>&lt;div id=\"{myList}-nav\"&gt;&lt;/div&gt;</code></pre>\n\n## Options\n<pre><code>$(\"myList\").listnav({\n    initLetter: '',        // filter the list to a specific letter on init ('a'-'z', '-' [numbers 0-9], '_' [other])\n    includeAll: true,      // Include the ALL button\n    includeOther: false,    // Include a '...' option to filter non-english characters by\n    includeNums: true,     // Include a '0-9' option to filter by\n    flagDisabled: true,    // Add a class of 'ln-disabled' to nav items with no content to show\n    removeDisabled: false, // Remove those 'ln-disabled' nav items (flagDisabled must be set to true for this to function)\n    allText: 'All',        // set custom text in navbar to ALL button\n    noMatchText: 'No matching entries', // set custom text for nav items with no content to show\n    showCounts: true,      // Show the number of list items that match that letter above the mouse\n    dontCount: ''          // A comma separated list of selectors you want to exclude from the count function (numbers on top of navigation)\n    cookieName: null,      // Set this to a string to remember the last clicked navigation item requires jQuery Cookie Plugin ('myCookieName')\n    onClick: null,         // Set a function that fires when you click a nav item. see Demo 5\n    prefixes: [],          // Set an array of prefixes that should be counted for the prefix and the first word after the prefix ex: ['the', 'a', 'my']\n    filterSelector: ''     // Set the filter to a CSS selector rather than the first text letter for each item\n});</code></pre>\n\n# Showcase\n\nThe following websites are currently using ListNav to filter their lists:\n\n[Santa Fe College](http://www.sfcollege.edu/az/)\n","maintainers":[{"email":"bsanchez@aplyca.com","name":"bsanchez-aplyca"},{"email":"csuarez@aplyca.com","name":"csuarez7"},{"email":"msanchez@aplyca.com","name":"msanchez"}],"time":{"modified":"2024-04-23T20:53:47.913Z","created":"2017-08-28T21:12:21.433Z","2.4.10":"2017-08-28T21:12:21.433Z"},"homepage":"https://github.com/esteinborn/jquery-listnav#readme","repository":{"type":"git","url":"git+https://github.com/esteinborn/jquery-listnav.git"},"author":{"name":"Eric Steinborn"},"bugs":{"url":"https://github.com/esteinborn/jquery-listnav/issues"},"readmeFilename":"README.md"}