Team:ETH Zurich/data/blue

From 2014.igem.org

(Difference between revisions)
m (Created page with "{{:Team:ETH Zurich/tpl/head|Enlarged Data Page: Blue Cell Type}} <html><article> </article></html> {{:Team:ETH Zurich/tpl/foot}}")
m
Line 1: Line 1:
{{:Team:ETH Zurich/tpl/head|Enlarged Data Page: Blue Cell Type}}
{{:Team:ETH Zurich/tpl/head|Enlarged Data Page: Blue Cell Type}}
 +
<html>
 +
<script type="text/javascript">
 +
(function($) {
 +
function img(url) {
 +
var i = new Image;
 +
i.src = url;
 +
return i;
 +
}
 +
 +
if ('naturalWidth' in (new Image)) {
 +
$.fn.naturalWidth = function() { return this[0].naturalWidth; };
 +
$.fn.naturalHeight = function() { return this[0].naturalHeight; };
 +
return;
 +
}
 +
$.fn.naturalWidth = function() { return img(this[0].src).width; };
 +
$.fn.naturalHeight = function() { return img(this[0].src).height; };
 +
})(jQuery);
-
<html><article>
 
 +
function onWindowResize()
 +
{
 +
  var curWidth = $(window).width(),
 +
  curHeight = $(window).height(),
 +
  checking=false;
 +
  if (checking) {
 +
      return;
 +
  }
 +
  checking = true;
 +
  window.setTimeout(
 +
    function() {
 +
        var newWidth = $(window).width(),
 +
            newHeight = $(window).height();
 +
        if (!(newWidth !== curWidth ||
 +
            newHeight !== curHeight)) {
 +
            resize(false);
 +
        }
 +
        checking=false;
 +
    }, 300);
 +
}
 +
 +
function resize(initial) {
 +
if (!initial)
 +
{
 +
    var container =  $('#container');
 +
    var imgWidth = container.width();
 +
 +
  $( "#map").each(function() {
 +
      $(this).css('height', 'auto', 'width', 'auto');
 +
      $(this).mapster('resize',Math.min(imgWidth, $(this).naturalWidth()) ,0,0); 
 +
  });
 +
}
 +
 +
}
 +
 +
$(document).ready(function(){
 +
 +
$('#map').mapster({
 +
    fillColor: 'ffffff',
 +
    fillOpacity: 0.5,
 +
    isSelectable: false,
 +
    clickNavigate: true,
 +
  });
 +
 +
 +
 +
$(window).resize(
 +
  function()
 +
  {
 +
onWindowResize();
 +
  });
 +
resize(true);
 +
 +
});
 +
 +
</script>
 +
</html>
 +
 +
<html><article id = "container">
 +
<img usemap="#map" id="map" src="/wiki/images/6/66/ETH_Zurich_DataPageBlue.png" style="width:100%;"/>
 +
<map id="map" name="map"><area shape="poly" alt="" title="" coords="768,500,764,416,676,364,364,368,356,264,728,272,720,320,904,320,892,396,844,396,848,432,784,436,788,500,760,500" href="http://parts.igem.org/Part:BBa_J23100" target="" /><area shape="poly" alt="" title="" coords="1008,660,724,652,712,552,808,568,808,476,872,452,924,484,944,588,1032,572,1044,656" href="http://parts.igem.org/Part:BBa_B0034" target="" /><area shape="poly" alt="" title="" coords="976,476,1248,460,1256,408,1416,516,1264,600,1268,556,948,552,968,556,968,540" href="http://parts.igem.org/Part:BBa_C0062" target="" /><area shape="poly" alt="" title="" coords="1480,496,1480,416,1436,416,1212,372,1208,304,1528,312,1528,372,1560,380,1556,424,1516,420,1512,496,1488,500" href="http://parts.igem.org/Part:BBa_B0015" target="" /><area shape="poly" alt="" title="" coords="1580,500,1568,356,1628,352,1628,276,1976,280,1976,348,1760,372,1756,420,1616,440,1600,504" href="http://parts.igem.org/Part:BBa_J23100" target="" /><area shape="poly" alt="" title="" coords="2136,560,1840,552,1836,464,2140,472,2148,416,2276,508,2144,596" href="http://parts.igem.org/Part:BBa_C0179" target="" /><area shape="poly" alt="" title="" coords="1564,628,1904,640,1904,572,1796,556,1788,472,1720,444,1672,480,1660,532,1668,564,1556,568" href="http://parts.igem.org/Part:BBa_B0034" target="" /><area shape="poly" alt="" title="" coords="2348,496,2348,420,2296,416,2216,360,2224,288,2552,292,2548,376,2416,388,2420,412,2376,420,2376,496,2376,496" href="http://parts.igem.org/Part:BBa_B0015" target="" /><area shape="poly" alt="" title="" coords="488,1472,492,1396,448,1396,284,1352,292,1280,612,1304,600,1368,560,1364,564,1388,508,1396,524,1472" href="http://parts.igem.org/Part:BBa_B0012" target="" /><area shape="poly" alt="" title="" coords="792,1484,732,1388,636,1360,636,1288,700,1292,700,1220,1020,1240,1004,1312,820,1308,808,1484" href="http://parts.igem.org/Part:BBa_R0079" target="" /><area shape="poly" alt="" title="" coords="1252,1484,1240,1348,1112,1348,1112,1224,1416,1236,1416,1312,1280,1308,1344,1376,1344,1376" href="http://parts.igem.org/Part:BBa_R0079" target="" /><area shape="poly" alt="" title="" coords="848,1516,1220,1528,1220,1436,840,1436" href="http://parts.igem.org/Part:BBa_B0040" target="" /><area shape="poly" alt="" title="" coords="668,1748,672,1712,280,1728,276,1212,1484,1220,1476,1720,1096,1724,1104,1648,692,1652,696,1744,1504,1744,1504,1196,252,1192,256,1740" href="http://parts.igem.org/Part:BBa_K154XXXX" target="" /><area shape="poly" alt="" title="" coords="1544,1448,1936,1452,1936,1396,2068,1484,1940,1564,1928,1524,1544,1532" href="http://parts.igem.org/Part:BBa_K1039012" target="" /><area shape="poly" alt="" title="" coords="216,2092,220,2012,172,2004,172,1976,200,1896,496,1900,496,1964,292,1980,292,2000,252,2004,248,2092,228,2084" href="http://parts.igem.org/Part:BBa_B0012" target="" /><area shape="poly" alt="" title="" coords="768,2156,476,2140,476,2188,332,2104,468,2016,476,2060,768,2056" href="http://parts.igem.org/Part:BBa_I20284" target="" /><area shape="poly" alt="" title="" coords="1048,2088,956,1992,952,1844,1340,1852,1324,1896,1100,1912,1084,1972" href="http://parts.igem.org/Part:BBa_R0062" target="" /><area shape="poly" alt="" title="" coords="1504,2088,1496,1968,1412,1952,1404,1844,1784,1848,1748,1888,1592,1912,1580,2016,1532,2020" href="http://parts.igem.org/Part:BBa_R0062" target="" /><area shape="poly" alt="" title="" coords="1468,2136,1468,2056,1080,2052,1088,2140" href="http://parts.igem.org/Part:BBa_B0040" target="" /><area shape="poly" alt="" title="" coords="1868,2084,1864,2000,1804,1996,1696,1964,1700,1908,2004,1908,1988,1976,1940,1976,1936,2004,1892,2004,1892,2088" href="http://parts.igem.org/Part:BBa_B0012" target="" /><area shape="poly" alt="" title="" coords="1232,2324,828,2320,828,1832,2032,1828,2020,2324,1668,2320,1668,2264,1240,2256,1248,2344,1248,2348,2052,2344,2056,1812,796,1816,808,2340,1244,2348,1236,2348" href="http://parts.igem.org/Part:BBa_K154XXXX" target="" /><area shape="poly" alt="" title="" coords="344,2896,292,2764,292,2624,628,2632,616,2688,484,2700,484,2788,388,2840,368,2900,348,2896" href="http://parts.igem.org/Part:BBa_J23100" target="" /><area shape="poly" alt="" title="" coords="748,2896,744,2820,700,2816,588,2764,604,2704,916,2708,912,2776,816,2780,820,2816,776,2820,776,2904" href="http://parts.igem.org/Part:BBa_B0015" target="" /><area shape="poly" alt="" title="" coords="2052,2876,2320,2848,2344,2856,2336,2808,2516,2900,2344,2992,2336,2956,2044,2952" href="http://parts.igem.org/Part:BBa_C0161" target="" /><!-- Created by Online Image Map Editor (http://www.maschek.hu/imagemap/index) --></map>
</article></html>
</article></html>
{{:Team:ETH Zurich/tpl/foot}}
{{:Team:ETH Zurich/tpl/foot}}

Revision as of 21:21, 14 October 2014

iGEM ETH Zurich 2014