Template:Team:Cambridge/CAM 2012 TEMPLATE HEAD PROJECT
From 2012.igem.org
(Difference between revisions)
Pdmallaband (Talk | contribs) |
Pdmallaband (Talk | contribs) |
||
Line 26: | Line 26: | ||
set_bk(); | set_bk(); | ||
+ | |||
+ | var ImgAry=['https://static.igem.org/mediawiki/2012/1/1a/Linearised_logo2.png','http://farm4.static.flickr.com/3275/2880482532_a7189a6fee_o.jpg','http://farm4.static.flickr.com/3076/2879649119_08a9a00bf9_o.jpg'] | ||
+ | var MapAry=[]; | ||
+ | for (var zxc0=0;zxc0<ImgAry.length;zxc0++){ | ||
+ | MapAry[zxc0]=new Image(); | ||
+ | MapAry[zxc0].src=ImgAry[zxc0]; | ||
+ | } | ||
+ | |||
+ | function Swap(id,nu){ | ||
+ | document.getElementById(id).src=MapAry[nu].src; | ||
+ | } | ||
</script> | </script> | ||
Line 92: | Line 103: | ||
} | } | ||
}); | }); | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
$('.cam_grid_headover h7').css("display","none"); | $('.cam_grid_headover h7').css("display","none"); | ||
Line 252: | Line 248: | ||
</div> | </div> | ||
<MAP NAME="logomap"> | <MAP NAME="logomap"> | ||
- | <AREA SHAPE="RECT" COORDS="0,0,110,150" onmouseover="Swap('tst',1);" onmouseout="Swap('tst',0);" > | + | <AREA SHAPE="RECT" COORDS="0,0,110,150" HREF="https://2012.igem.org/Team:Cambridge/Outreach/Overview" onmouseover="Swap('tst',1);" onmouseout="Swap('tst',0);" > |
<AREA SHAPE="RECT" COORDS="115,0,220,150" HREF="https://2012.igem.org/Team:Cambridge/Project/Biosensors" onmouseover="Swap('tst',2);" onmouseout="Swap('tst',0);" > | <AREA SHAPE="RECT" COORDS="115,0,220,150" HREF="https://2012.igem.org/Team:Cambridge/Project/Biosensors" onmouseover="Swap('tst',2);" onmouseout="Swap('tst',0);" > | ||
<AREA SHAPE="RECT" COORDS="225,0,365,150" HREF="https://2012.igem.org/Team:Cambridge/Project/Standardised_Outputs" onmouseover="Swap('tst',3);" onmouseout="Swap('tst',0);" > | <AREA SHAPE="RECT" COORDS="225,0,365,150" HREF="https://2012.igem.org/Team:Cambridge/Project/Standardised_Outputs" onmouseover="Swap('tst',3);" onmouseout="Swap('tst',0);" > |
Revision as of 10:44, 26 September 2012