[mapguide-users] deactivate the mousewheel on IE

Denis Lalonde denlalonde at gmail.com
Wed May 15 06:18:48 PDT 2013


In ajaxmappane.templ, comment out these lines and it will ignore the
mousewheel events.

 //   if (window.addEventListener)
 //   {
 //       window.addEventListener('DOMMouseScroll', OnMouseWheel, false);
 //   }
 //   window.onmousewheel = document.onmousewheel = OnMouseWheel;


On Wed, May 15, 2013 at 9:11 AM, Emma Schmidt <emma.25 at gmx.net> wrote:

>  Hi, i've tried to, but its not working. I don't want to change the temp
> file....
>
> overwriting the OnClick funktion works fine with :
> --> OverviewFrame.viewerFrame.mapFrame.OnClick = SetMapPosition;
>
> but overwriting the OnMouseWheel function doesn't work with
>
> --> OverviewFrame.viewerFrame.mapFrame.OnMouseWheel=MouseWheelOverview;
>
> Any ideas why?
>
>
>
> *Gesendet:* Mittwoch, 15. Mai 2013 um 14:51 Uhr
> *Von:* "Jackie Ng" <jumpinjackie at gmail.com>
> *An:* mapguide-users at lists.osgeo.org
> *Betreff:* Re: [mapguide-users] deactivate the mousewheel on IE
>  If you want mouse wheel to do nothing, what about just rewriting the
> OnMouseWheel function do nothing?
>
> - Jackie
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/deactivate-the-mousewheel-on-IE-tp5053389p5053396.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20130515/3998a938/attachment.html>


More information about the mapguide-users mailing list