0

How do you implement onmousemove in Firefox? I have it working in IE7 but no alert pops in Firefox. Is is not supported or done differently?

<esri:Map ID="Map1" runat="server" MapResourceManager="MapResourceManager1" 
    Height="100%" Width="100%" VirtualDirectory="" 
    PrimaryMapResource="ESRI_Imagery_World_2D" Extent="-130,37,-117,46" 
    onmousemove="alert()" >
</esri:Map>
fabrik
  • 14,094
  • 8
  • 55
  • 71
mrjrdnthms
  • 1,549
  • 4
  • 24
  • 35

1 Answers1

3

I thinkk the problem is that you need to put something inside your alert(), such as:

<esri:Map ID="Map1" runat="server" MapResourceManager="MapResourceManager1" 
                    Height="100%" Width="100%" VirtualDirectory="" 
                    PrimaryMapResource="ESRI_Imagery_World_2D" Extent="-130,37,-117,46" 
                    onmousemove="alert('test');" >
                </esri:Map>

I just tried this and it worked in FF:

<div onmousemove="alert('test');" style="height:100px; width:300px; background-color:#f00;"></div>
Darryl Hein
  • 142,451
  • 95
  • 218
  • 261