[mapguide-users] deactivate mousewheel for mapframe

Jackie Ng jumpinjackie at gmail.com
Mon Sep 21 05:32:21 EDT 2009


You could try replacing the function in that handles mouse scrolling with a
"do nothing" function.

eg. kartenframe.OnMouseWheel = function() {};

- Jackie


Bernd Kamjunke wrote:
> 
> Hello Everybody!
> 
> Does anybody know how to deactivate the mousewheel?
> I had no luck trying the unbind method of the mapframe
> or the document object of the mapframe.
> 
> This didn't worked too:
> window.removeEventListener('DOMMouseScroll', kartenframe.OnMouseWheel,
> true);
> 
> Thanks for every answer
> 
> Bernd
> 

-- 
View this message in context: http://n2.nabble.com/deactivate-mousewheel-for-mapframe-tp3683889p3684095.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list