Looks great, Chris! Really nice job!
A couple things I noticed with arrow-key navigation:
- sometimes you have to hit an arrow key twice to move from one item
to the next (e.g. on the "Save" item in the first context menu). Is
that intentional? Kind of feels like a bug.
- if you keep hitting the down-arrow key after the last item in the
menu, the selection disappears and you then have to hit the up-arrow
key an equal number of times before that last item with be selected
again. Same thing occurs with up-arrow key and first item. It would
be nice if this were prevented from happening -- so that arrow keys
don't take focus away from all of the items.
Keep up the great work!
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jul 15, 2007, at 11:05 PM, cdomigan wrote:
Version r2 of the ContextMenu plugin has been released.
ContextMenu is a lightweight jQuery plugin that lets you selectively
override the browser's right-click menu with a custom one of your own.
You can download it here: http://www.trendskitchens.co.nz/jquery/
contextmenu/
ContextMenu is now truly context-sensitive, allowing you to enable/
disable individual items depending on the context, or you can choose
dynamically to hide the menu.
Changes in this version:
* $.contextMenu.defaults() now works correctly
* onContextMenu, onShowMenu callbacks added (thanks Dan G. Switzer,
II)
* drop shadow!
Plus a few other changes and bug-fixes. See http://
www.trendskitchens.co.nz/jquery/contextmenu/
for full changelog and documentation.
r3 is currently in the works with support for nested menus, a much
requested feature :)
As always comments/bug reports are much appreciated!
Cheers,
Chris