<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Arial","sans-serif";
color:blue;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>The difference I see between the OnClick event and OnMouseWheel event is that the OnMouseWheel event isn’t declared in the <body> tag in ajaxmappane.templ.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>I wonder if adding the event to that body tag would allow you override the event like OnClick. I haven’t tried it; just a guess.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Emma Schmidt<br><b>Sent:</b> Wednesday, May 15, 2013 8:34 AM<br><b>To:</b> MapGuide Users Mail List<br><b>Subject:</b> Re: [mapguide-users] deactivate the mousewheel on IE<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'>Hi, I need this function for my project, just not for my overwiev map.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'>Thanks anyway<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p><div style='border:none;border-left:solid #C3D9E5 1.5pt;padding:0in 0in 0in 8.0pt;margin-left:7.5pt;margin-top:7.5pt;margin-right:3.75pt;margin-bottom:3.75pt;word-wrap: break-word;-webkit-nbsp-mode: space;-webkit-line-break: after-white-space' name=quote><div style='margin-bottom:7.5pt'><p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'>Gesendet:</span></b><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> Mittwoch, 15. Mai 2013 um 15:18 Uhr<br><b>Von:</b> "Denis Lalonde" <<a href="mailto:denlalonde@gmail.com">denlalonde@gmail.com</a>><br><b>An:</b> "MapGuide Users Mail List" <<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>><br><b>Betreff:</b> Re: [mapguide-users] deactivate the mousewheel on IE<o:p></o:p></span></p></div><div name=quoted-content><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'>In ajaxmappane.templ, comment out these lines and it will ignore the mousewheel events. <o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p></div><div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> // if (window.addEventListener)<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> // {<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> // window.addEventListener('DOMMouseScroll', OnMouseWheel, false);<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> // }<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> // window.onmousewheel = document.onmousewheel = OnMouseWheel;<o:p></o:p></span></p></div></div></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'>On Wed, May 15, 2013 at 9:11 AM, Emma Schmidt <<a href="emma.25@gmx.net" target="_parent">emma.25@gmx.net</a>> wrote: <o:p></o:p></span></p><div><div><div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> Hi, i've tried to, but its not working. I don't want to change the temp file....<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:Consolas'>overwriting the OnClick funktion works fine with : </span><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:Consolas'>--> OverviewFrame.viewerFrame.mapFrame.OnClick = SetMapPosition; </span><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:Consolas'>but overwriting the OnMouseWheel function doesn't work with</span><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:Consolas'>--> OverviewFrame.viewerFrame.mapFrame.OnMouseWheel=MouseWheelOverview;</span><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:Consolas'>Any ideas why?</span><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'>Gesendet:</span></b><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> Mittwoch, 15. Mai 2013 um 14:51 Uhr<br><b>Von:</b> "Jackie Ng" <<a href="jumpinjackie@gmail.com" target="_parent">jumpinjackie@gmail.com</a>><br><b>An:</b> <a href="mapguide-users@lists.osgeo.org" target="_parent">mapguide-users@lists.osgeo.org</a><br><b>Betreff:</b> Re: [mapguide-users] deactivate the mousewheel on IE<o:p></o:p></span></p></div><div><div><div><div style='border:none;border-left:solid #C3D9E5 1.5pt;padding:0in 0in 0in 8.0pt;margin-left:7.5pt;margin-top:7.5pt;margin-right:3.75pt;margin-bottom:3.75pt'><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'>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="mapguide-users@lists.osgeo.org" target="_parent">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><o:p></o:p></span></p></div></div></div></div></div></div></div></div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'><br>_______________________________________________<br>mapguide-users mailing list<br><a href="mapguide-users@lists.osgeo.org" target="_parent">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> <o:p></o:p></span></p></div></div></div></div></div></div></div></div></body></html>