All Projects → joelpurra → emulatetab

joelpurra / emulatetab

Licence: other
A jQuery plugin to emulate tabbing between elements on a page.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to emulatetab

jquery-jside-menu
jSide Menu is a well designed, simple and clean side navigation menu with dropdowns.
Stars: ✭ 23 (+53.33%)
Mutual labels:  jquery-plugin
jquery-google-reviews
simple jquery Plugin that utilizes Google API to get data from a Place on Google Maps
Stars: ✭ 33 (+120%)
Mutual labels:  jquery-plugin
BedrockBackwards
Connects older clients to newer servers
Stars: ✭ 24 (+60%)
Mutual labels:  compatibility
readingbar
A simple progress bar that indicates the length & your current reading position of an article/page
Stars: ✭ 19 (+26.67%)
Mutual labels:  jquery-plugin
ripple-effect-click
Add ripple effect to any element you want when the click action happens ("ripple effect")
Stars: ✭ 15 (+0%)
Mutual labels:  jquery-plugin
rellax
jQuery Rellax Plugin - Parallax awesomeness
Stars: ✭ 14 (-6.67%)
Mutual labels:  jquery-plugin
Modern.JS
모던 자바스크립트 라이브러리/프레임워크 × KIPFA(한국인터넷전문가협회)
Stars: ✭ 16 (+6.67%)
Mutual labels:  jquery-plugin
jquery-smarty
jQuery Smarty Plugin (jQSmarty) is a port of the Smarty Templating Engine to Javascript/jQuery, offering a familiar client-side templating solution
Stars: ✭ 18 (+20%)
Mutual labels:  jquery-plugin
jquery-accessible-simple-tooltip-aria
jQuery accessible simple tooltip window, using ARIA
Stars: ✭ 22 (+46.67%)
Mutual labels:  jquery-plugin
jquery.peekABar
jQuery plugin for a Notification Bar
Stars: ✭ 59 (+293.33%)
Mutual labels:  jquery-plugin
dd86
No longer maintained. See URL.
Stars: ✭ 36 (+140%)
Mutual labels:  compatibility
Hashtegny
jQuery Plugin aggregates hashtags from different social media networks. Posts are displayed in a unique, & attractive grid, and animated layout.
Stars: ✭ 52 (+246.67%)
Mutual labels:  jquery-plugin
ajxnetcore
Its an innovative method to turn an ASP.NET Core Application Into Single Page Application, While enhancing the Software performance both on server and client side.
Stars: ✭ 31 (+106.67%)
Mutual labels:  jquery-plugin
vidbacking
vidbacking is a jQuery plugin to create HTML5 / Youtube video as background on webpage with fallback image support. It supports mp4 and webm files as well as Youtube video.
Stars: ✭ 55 (+266.67%)
Mutual labels:  jquery-plugin
international-telephone-input
Integration to Magento 2 a jQuery plugin for entering and validating international telephone numbers.
Stars: ✭ 26 (+73.33%)
Mutual labels:  jquery-plugin
jquery-tree
jQuery-tree is a jQuery plugin to make an HTML unorder list (ul) in a tree.
Stars: ✭ 29 (+93.33%)
Mutual labels:  jquery-plugin
Timespace
A jQuery plugin to handle displaying of time events
Stars: ✭ 27 (+80%)
Mutual labels:  jquery-plugin
jquery-asPieProgress
A jQuery plugin that animate the pie progress.
Stars: ✭ 41 (+173.33%)
Mutual labels:  jquery-plugin
animationCounter.js
animationCounter.js is a jQuery plugin that animates a number from a value to another value or to an infinite value
Stars: ✭ 18 (+20%)
Mutual labels:  jquery-plugin
jquery-bindings
Simple two-way data binding using proxies and requestIdleCallback
Stars: ✭ 17 (+13.33%)
Mutual labels:  jquery-plugin

EmulateTab javascript library

A jQuery plugin to emulate tabbing between elements on a page.

⚠️ This project has been archived

No future updates are planned. Feel free to continue using it, but expect no support.

The tab key is very useful when it comes to navigating webpages. When working with functions that modify or reuse tabbing through elements on a page, the browser's native tabbing logic cannot be called from javascript. This plugin tries to emulate/simulate that browser logic.

Get it

Download the script, and include it in your HTML page after the jQuery script tag.

Link Note
emulatetab.joelpurra.js For development
emulatetab.joelpurra.min.js For production
Github $ git clone --recursive git://github.com/joelpurra/emulatetab.git
Make sure to get the submodules too.
Bower $ bower install jquery-emulatetab
Component $ component install joelpurra/emulatetab
NPM $ npm install jquery-emulatetab
jQuery Plugin Registry
Packagist

Demos

Usage

// Emulate forward tab from the currently focused element 
$.emulateTab();

// Emulate reverse tab from the currently focused element 
$.emulateTab(-1);

// Emulate forward tab from a specific element
$(selector).emulateTab();

// Emulate reverse tab from a specific element
$(selector).emulateTab(-1);

Tabbable elements

Elements that can be focused/tabbed include <input>, <select>, <textarea>, <button> and <a href="..."> (the href attribute must exist and the tag must have some contents).

Note that <input type="hidden" />, <a> (without href or empty contents), disabled="disabled" or display: none; elements cannot be focused/tabbed to.

Original purpose

Developed to as a part of two other plugins; one to use tab to skip over less used form fields, the other to use the + on the keypad as a new tab key. Both plugins were used in a web application for registering and administering letters.

Dependencies

EmulateTab's only runtime dependencies is jQuery.

Browser compatibility

Should be about as compatible as jQuery is, since most functions depend on jQuery's normalization. You are engouraged to run the EmulateTab test suite and then report any issues.

Contribute

In order to contribute to the project, follow these steps.

  • Make sure you have installed git, npm, bower, grunt, jekyll.
  • Fork the project on github.
  • $ git clone --recursive [email protected]:USERNAME/emulatetab.git where USERNAME is your github username.
  • $ git checkout -b my-own-modification where my-own-modification is a descriptive name for your fix or feature.
  • $ npm install && bower install
  • $ grunt watch
  • Make your changes to the code. Remember to write new test cases for your changes.
  • $ git commit
  • $ grunt to make sure all tests pass.
  • $ git push
  • Send a pull request on github.com.

Todo

  • jQuery UI has better code for :focusable/:tabbable. Investigate how to implement it.
  • Investigate focusing/tabbing and [contenteditable].
  • Investigate focusing/tabbing non-input elements with [tabindex] and negative values value.
  • Create a separate git repo for packaged/minified bower/composer/component/jquery plugin releases.

License

Developed for PTS by Joel Purra https://joelpurra.se/

Copyright (c) 2011, 2012, 2013, 2014, 2015, The Swedish Post and Telecom Authority (PTS) All rights reserved.

Released under the BSD license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].