From: Mitch S. <li...@ar...> - 2006-11-16 12:55:35
|
On Wed, 2006-11-15 at 20:47 +0000, Stephen Taylor wrote: > I had it set on mouseover as you described and it felt not quite right > for some reason but having a pop up on a hover is how we use the cgi > GBrowse and it works great. We can try out a few options and see what's > best and I think you are right about keeping the click events free. A > rubber banding mechanism might be a good idea in the future to zoom in, > for example. Clearly I'm coming into this discussion half-way, so maybe you've already talked about this, but - The pop up menu seems pretty much like a regular context menu that would be shown on a right-click. I know dojo has a widget for this; not sure about prototype or prototype-based js libs. It sounds fairly straightforward to roll this bit of functionality on your own, though: http://lab.artlung.com/oncontextmenu/ The Dojo version does do some extra work to support Opera and Konqueror which apparently don't have this natively. Of course, this leaves the left-click open for dragging or selection. Maybe people aren't terribly used to web apps providing their own context menus yet, but I've seen this in Yahoo's new mail app (with accelerator keys, even!), and it fits pretty well with general desktop UI habits. Mitch |