Team:ETH Zurich/project/overview/grid

From 2014.igem.org

(Difference between revisions)
Line 7: Line 7:
<IMG SRC="/wiki/images/d/d9/ETH_Zurich_GridGlowing.png" usemap="#map" id="mapTest">
<IMG SRC="/wiki/images/d/d9/ETH_Zurich_GridGlowing.png" usemap="#map" id="mapTest">
<map id="map" name="map">
<map id="map" name="map">
-
<area shape="circle" title="" alt="" coords="281,26,17" href="javascript:alert('foo');" target="" id="age" class="showTip L1" />
+
<area shape="circle" title="" alt="" coords="281,26,17" href="javascript:void" target="" id="cell1" name="cell1" class="showTip L1" />
</map>
</map>
Line 69: Line 69:
     fillColor: '2C2F3D',
     fillColor: '2C2F3D',
     fillOpacity: 1,
     fillOpacity: 1,
 +
    singleSelect: true,
     showToolTip: true,
     showToolTip: true,
-
     toolTipClose: ["tooltip-click", "area-click"],
+
     onShowToolTip: function() {alert('foo');},
 +
    mapKey: 'name',
 +
    /* toolTipClose: ["tooltip-click", "area-click"], */
     areas: [
     areas: [
             {
             {
-
                 key: "age",
+
                 key: "cell1",
-
                 toolTip: 'foo'
+
                 toolTip: "Blah!"
             }
             }
             ]
             ]

Revision as of 11:55, 30 September 2014

iGEM ETH Zurich 2014