Mobile Finger Navigation
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
css android fix Jun 21, 2013
font-awesome Initial Commit Jun 20, 2013
fonts Initial Commit Jun 20, 2013
img Initial Commit Jun 20, 2013
js android fix Jun 21, 2013
.DS_Store Initial Commit Jun 20, 2013
README.markdown readme... Jun 20, 2013
index.html Initial Commit Jun 20, 2013
nipple.jquery.json adding demo Jun 21, 2013

README.markdown

Nipple

Mobile Finger Navigation

Author: Ken Wheeler

Date: 06/20/13

Version: 1.0b

Demo

Demo

Options

longPressLength: int - (default: 750)

leftSelect: callback function

upSelect: callback function

rightSelect: callback function

downSelect: callback function

Example


$('.nav').nipple({ 
	longPressDuration: 750, 
	leftSelect: function() {
		$('.mobile-message').text('You selected Settings!');
	},
	upSelect: function() {
		$('.mobile-message').text('You selected Home!');
	},
	rightSelect: function() {
		$('.mobile-message').text('You selected Comments!');
	},
	downSelect: function() {
		$('.mobile-message').text('You selected Favorites!');
	} 
});

License

Copyright (c) 2013 Ken Wheeler

Dual licensed under the MIT and GPL licenses.

Free as in Bacon.