Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cakebaker/jquery-jknavigable
A jQuery plugin that allows you to navigate using the "j" and "k" keys
https://github.com/cakebaker/jquery-jknavigable
Last synced: about 2 months ago
JSON representation
A jQuery plugin that allows you to navigate using the "j" and "k" keys
- Host: GitHub
- URL: https://github.com/cakebaker/jquery-jknavigable
- Owner: cakebaker
- Created: 2010-12-02T15:25:50.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2010-12-03T15:21:39.000Z (about 14 years ago)
- Last Synced: 2023-04-12T04:03:27.488Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 93.8 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
A simple jQuery plugin allowing you to navigate using the "j" and "k" keys like on http://www.boston.com/bigpicture/.
Example for enabling j/k navigation for posts on a blog:
$('.post').jknavigable();
By default the class "active" is added to the active element, though this can be changed with:
$('.post').jknavigable({'activeClass': 'someClass'});