[Laszlo-dev] Questions about context menu support in DHTML

Max Carlson max at openlaszlo.org
Fri Jan 26 13:59:14 PST 2007


Hi Folks!

As far as I can tell, there isn't a way to change the items in a 
browser's native context menu like you can in Flash.  However, it's 
fairly straightforward to disable the native browser context menu and 
display something else in its place when the user clicks the right-mouse 
button.

Since we can't do native context menus, what should they look like? 
Here's an example with a really simple visual appearance:

http://www.webmonkey.com/webmonkey/05/10/stuff/active2.html

I'll do something simple along those lines unless someone objects.

One issue with disabling context menus is that it shuts users out of 
being able to use browser features listed there.  Then again, context 
menu options are usually (and should be) accessible elsewhere in the 
browser UI so maybe that's not such a big deal...

-- 
Regards,
Max Carlson
OpenLaszlo.org


More information about the Laszlo-dev mailing list