I'm just curious. You ask for another solution, but what is you are really trying to do? Are you creating a site where people can edit data? Or will it be just for viewing only? What function are you trying to create instead of the normal wheel function? What is this extra functionality worth to you?
Thanks, Martin -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of SriRam007 Sent: Monday, April 12, 2010 7:21 AM To: [email protected] Subject: [mapguide-users] OnMouseWheel Zoom in and Zoom out Hi, Is there any way to disable the Mouse Wheel Zoom Function I want to enable and disable this functionality accoding to some conditions I found one soln that is to use a custom function OnMouseWheel event on the Map by hooking the original function var origOnMouseWheel = null; var mapFrame = viewerFrame.mapFrame; origOnMouseWheel = mapFrame.OnMouseWheel; I just know the code as given above But dont know how to use it so that on every OnMouseWheel event My Function should call. not the original one which is inside viewers file. OR Is there any other solution Please anyone help me... thanks -- View this message in context: http://n2.nabble.com/OnMouseWheel-Zoom-in-and-Zoom-out-tp4889474p4889474.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
