<div dir="ltr">In ajaxmappane.templ, comment out these lines and it will ignore the mousewheel events.<div><br></div><div><div> // if (window.addEventListener)</div><div> // {</div><div> // window.addEventListener('DOMMouseScroll', OnMouseWheel, false);</div>
<div> // }</div><div> // window.onmousewheel = document.onmousewheel = OnMouseWheel;</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 15, 2013 at 9:11 AM, Emma Schmidt <span dir="ltr"><<a href="mailto:emma.25@gmx.net" target="_blank">emma.25@gmx.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div>
<div> Hi, i've tried to, but its not working. I don't want to change the temp file....</div>
<div> </div>
<div><font face="Consolas"><font face="Consolas">overwriting the OnClick funktion works fine with : </font></font></div>
<div><font face="Consolas"><font face="Consolas">--> OverviewFrame.viewerFrame.mapFrame.OnClick = SetMapPosition; </font></font></div>
<div> </div>
<div><font face="Consolas"><font face="Consolas">but overwriting the </font>OnMouseWheel function doesn't work with</font></div>
<div> </div>
<div><font face="Consolas">--> OverviewFrame<font face="Consolas">.viewerFrame.mapFrame.OnMouseWheel=MouseWheelOverview;</font></font></div>
<div> </div>
<div><font face="Consolas"><font face="Consolas">Any ideas why?</font></font></div>
<div> </div>
<div> </div>
<div> </div>
<div><b>Gesendet:</b> Mittwoch, 15. Mai 2013 um 14:51 Uhr<br>
<b>Von:</b> "Jackie Ng" <<a href="mailto:jumpinjackie@gmail.com" target="_blank">jumpinjackie@gmail.com</a>><br>
<b>An:</b> <a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<b>Betreff:</b> Re: [mapguide-users] deactivate the mousewheel on IE</div><div><div class="h5">
<div>
<div name="quote" style="border-left:#c3d9e5 2px solid;padding-bottom:10px;margin:10px 5px 5px 10px;padding-left:10px;padding-right:0px;word-wrap:break-word;padding-top:10px">
<div name="quoted-content">If you want mouse wheel to do nothing, what about just rewriting the<br>
OnMouseWheel function do nothing?<br>
<br>
- Jackie<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/deactivate-the-mousewheel-on-IE-tp5053389p5053396.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/deactivate-the-mousewheel-on-IE-tp5053389p5053396.html</a><br>
Sent from the MapGuide Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a></div>
</div>
</div>
</div></div></div></div></div>
<br>_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
<br></blockquote></div><br></div>