d785b73876c4d4b79d4d0e174ec376a2c5294eeb
larrym
  Sat Sep 4 12:13:59 2010 -0700
add onmouseover and onmouseout event handlers for map area items
diff --git src/hg/hgTracks/imageV2.c src/hg/hgTracks/imageV2.c
index 03df339..d44d657 100644
--- src/hg/hgTracks/imageV2.c
+++ src/hg/hgTracks/imageV2.c
@@ -1471,7 +1471,7 @@
 struct mapItem *item = map->items;
 for(;item!=NULL;item=item->next)
     {
-    hPrintf("\n   <AREA SHAPE=RECT COORDS='%d,%d,%d,%d' onclick='return mapClk(this);'",
+    hPrintf("\n   <AREA SHAPE=RECT COORDS='%d,%d,%d,%d' onmouseover='mapItemMouseOver(this)' onmouseout='mapItemMouseOut(this)' onclick='return mapClk(this);'",
            item->topLeftX, item->topLeftY, item->bottomRightX, item->bottomRightY);
     // TODO: remove static portion of the link and handle in js
     if(map->linkRoot != NULL)