[OpenLayers-Users] right mouse click not working in chrome & safari

Richard Wiesinger richard.wiesinger at gmail.com
Tue Aug 4 07:08:44 EDT 2009


Hi,

I defined a callback function for right mouse clicks like this:

map.controls.Navigation.handlers.click.callbacks.rightclick = function(evt)
{
                           alert('right mouse click');
                        }

This works perfectly for FF and IE, but in Chrome and Safari nothing
happens.
Am I doing something wrong? Is there a way to support these browsers?

Kind regards,
richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090804/bf1a049b/attachment.html


More information about the Users mailing list