Collection of Google Android UX screen shots
Enable Keyboard Shortcuts to Website with Javascript Plugins
Using shortcut key as an alternative navigation method on a website is not something new. If possible, it's actually encouraged to create such navigation solution for accessibility. Of course, most browsers already has a set of built-in shortcut for it. How about, if you want to make your website to be able to interact with keyboard input? This time, we have gathered 5 javascript plugins that allow you to achieve that easily. You can easily define combo shortcut keys such as 'CMD+SHIFT+P' and bind an event with it.
Simple javascript template system | Stroep Blog
If you want to use strings as simple templates in javascript, you might want to use my template script. You can do stuff like this: var template = "Hello my name is {person.name}, I’m {person.age} years old, I like {person.favorites.fruit}, but at most I like {person.favorites.fruit[2]}"; alert( stroep.core.StringUtil.replaceVars(template , replaceVars) ); // output: Hello my name is Mark, I’m 27 years old, I like apples, oranges, bananas, but at most I like bananas. You can also use a function inside the template. var template = "I’m {person.age} years, I feel {customFunction(person.age)}"; // output: I’m 27 years, I feel young
Related:
Related: