nekman / keynavigator Goto Github PK
View Code? Open in Web Editor NEWKeynavigation plugin for jQuery/Zepto.
Home Page: http://nekman.github.io/keynavigator/
Keynavigation plugin for jQuery/Zepto.
Home Page: http://nekman.github.io/keynavigator/
if it possible to call function to control keynavigator move?
ex:
var $mOtt = $('ul#example1 li').keynavigator({ keys: { w: 'up', a: 'left', s: 'down', d: 'right', enter: function($el) { console.log('pressed enter on', $el.text()); } } });
I could walk arrow keys in the area, but could I call direction move by another js funciton?
like: $mOtt.keynavigator.right;
For a simple "html" list, I would like to know how to add this function "activateOn", only when I click on another element, for example an input type="text", placed in other "div" container.
Thanks in advance...
Hi!
Could you please tell me if there is any natural way to jump between elements in multiple containers ? I have a simple table and Bootstrap pagination here and I am curious if there is a way to make it work so when last table element is reached and I press 'next' button it will jump to pagination container and vice versa ? I've been fighting with it for a couple of hours and did not really achieve nothing interesting there. So is there some non-obtrusive way to make it happen or I would need to fork this and modify ?
Thanks
Fix the API with good names on settings, properties and methods. Update documentation.
how it could implement a destroy method? Because useCache = FALSE does not work
By default, we select the active element by a click.
To avoid that multiple events gets registered, we are using:
// this.options.activateOn is by default: 'click'
this.$nodes.off(this.options.activateOn)
.on(this.options.activateOn, function() {
self.setActive($(this));
});
This needs to be handled differently, so that we don't remove previous events (eg. click) that is already set by the user.
Hi @nekman ,
I need your help for keynavigator
http://nekman.github.io/keynavigator/
(this is elegant solution)
I try to combine your script and my where i after row click automatically select html radio button in selected
`$('table#pos_god > tbody tr').keynavigator();
$('#pos_god tr').click(function() {
$(this).find('td input[type=radio]').prop('checked', true);
});`
I need to have:
Can give me some instruction for this ?
Is there any alternatives? Why is it not maintained if this is the only really key navigation out there?!
Whether it is possible to scroll the page with the navigation on the table?
How can I follow links with enter key could you give me an example.
cheers!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.