Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

A proof of concept for traversing lists using the keyboard, written in JQuery. Click on an element to select it, then use 'w' and 's' to move up and down the list. You can bind other keys.

It requires the hotkeys plugin: http://code.google.com/p/js-hotkeys/

Sample usage:

Javascript:

$(document).ready(function() {
	$('ul').traversableList({
		bindings: {
			'a': function(elem){ alert("You pressed a")}
		}
	})
})

CSS:

.selected {
  background-color: red;
}

About

A simple jquery plugin that allows you to traverse lists with keystrokes

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages