Re: onContextMenu Widget
Michael Flanagan <[email protected]> Wed, 10 Sep 2003 18:14:08 -0700
| Newsgroups | gmane.comp.windows.devel.netwindows |
|---|---|
| Message-ID | <[email protected]> |
Christian Boulanger wrote: > This is a SUGGESTION for you developers... > > I have not used the tooltip functionality of nw, but something that I would > love to have sometime in the future would be a onContextMenu widget which > pops up at the mouse pointer position when the right button is clicked. I am > not sure how cross-browser onContextMenu support is. This widget could be a > combination of a drop-down menu component and the tooltip functionality > which could be attachable to divs. > > For example, I have a table of data (say a list of bibliographic references, > in my application). I want to do things with the data in each row, for > example, copy them to the clipboard, delete them, etc. I could write a > mousedown event which marks the row internally and then use the drop down > menu to do things with the data, but it would be much easier for the user to > use a context menu. I'm not convinced that a context menu would be the best approach from a useibility standpoint in this case. I think generally that users aren't familliar with context menues in a webpage and would find a clickable table more intuitive along with a delete button of some sort. > I wonder how difficult it would be to throw together such a widget. I don't think it would be that bad. It's just a matter of available time really and what your paycheque is dependant on. I don't need a context menu myself atm so it's a low priority on my list. OTOH, I think you'll be seing more examples of the validator, validator_group and meta_type system in the near future :) ... Took a quick glance at Aaron's implementation and it seems pretty simple. I would have implemented it differently, but I'm finding that to be the case with most all js code I look at nowadays. Be kind of hard to represent this one as a degradeable widget :) --Michael _______________________________________________ The netWindows developers list: [email protected] http://netwindows.org/mailman/listinfo/devel_netwindows.org