Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
rodneyrehm committed Jan 28, 2012
1 parent 51ef85f commit 190b1fb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -66,6 +66,10 @@ You're (obviously) able to use the context menu with your mouse. Once it is open
* ⇪ ➟ (shift tab) previous item or input element, will skip disabled elements and wrap around
* ⎋ (escape) close menu
* ⌴ (space) captured and ignore to avoid page scrolling (for consistency with native menus)
* ↑↑ (page up) captured and ignore to avoid page scrolling (for consistency with native menus)
* ↓↓ (page down) captured and ignore to avoid page scrolling (for consistency with native menus)
* ↑↑↑ (home) first item in list, will skip disabled elements
* ↓↓↓ (end) last item in, will skip disabled elements

Besides the obvious, browser also react to alphanumeric key strokes. Hitting <code>r</code> in a context menu will make Firefox (8) reload the page immediately. Chrome selects the option to see infos on the page, Safari selects the option to print the document. Awesome, right? Until trying the same on Windows I did not realize that the browsers were using the access-key for this. I would've preferred typing the first character of something, say "s" for "save" and then iterate through all the commands beginning with s. But that's me - what do I know about UX? Anyways, $.contextMenu now also supports accesskey handling.

Expand Down Expand Up @@ -99,6 +103,12 @@ $.contextMenu is published under the [MIT license](http://www.opensource.org/lic

## Changelog ##

### 1.5.8 ###

* Capturing Page Up and Page Down keys to ignore like space (Issue #30)
* Added Home / End keys to jump to first / last command of menu (Issue #29)
* Bug hitting enter in an &lt;input&gt; would yield an error (Issue #28)

### 1.5.7 ###

* Non-ASCII character in jquery.contextMenu.js caused compatibility issues in Rails (Issue #27)
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "jQuery contextMenu",
"version": "1.5.7",
"version": "1.5.8",
"title": "jQuery.contextMenu()",
"author": {
"name": "Rodney Rehm",
Expand Down
2 changes: 1 addition & 1 deletion src/jquery.contextMenu.js
@@ -1,7 +1,7 @@
/*
* jQuery contextMenu - Plugin for simple contextMenu handling
*
* Version: 1.5.7
* Version: 1.5.8
*
* Authors: Rodney Rehm, Addy Osmani (patches for FF)
* Web: http://medialize.github.com/jQuery-contextMenu/
Expand Down

0 comments on commit 190b1fb

Please sign in to comment.