Team:Heidelberg LSL/Sundro col
From 2012hs.igem.org
(Difference between revisions)
Line 8: | Line 8: | ||
<style type="text/css"> | <style type="text/css"> | ||
#news {min-height: 748px;} | #news {min-height: 748px;} | ||
+ | #a4 { position:absolute; top:270px; left:32px; z-index:1; background-color:transparent; } | ||
+ | #a5 { position:absolute; top:640px; left:32px; | ||
+ | z-index:2; background-color:transparent; } | ||
+ | #a6 { position:absolute; top:640px; right:320px; | ||
+ | z-index:2; background-color:transparent; } | ||
</style> | </style> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | |||
+ | var BuyNowarray = new Array(); | ||
+ | |||
+ | |||
+ | for (var i = 0; i <= 2; i++) { | ||
+ | BuyNowarray[i] = new Image(); | ||
+ | } | ||
+ | |||
+ | BuyNowarray[1].src="https://static.igem.org/mediawiki/2012hs/7/75/Order_now_b.png"; | ||
+ | BuyNowarray[2].src="https://static.igem.org/mediawiki/2012hs/7/75/Order_now_b.png"; | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | function swap(num,effect) { | ||
+ | |||
+ | switch (num) { | ||
+ | |||
+ | case 1: document.getElementById("pic"+num).src =BuyNowarray[effect].src; | ||
+ | break; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | |||
+ | function mouseOver(num) { | ||
+ | swap(num,2); | ||
+ | } | ||
+ | |||
+ | function mouseOut(num) | ||
+ | { | ||
+ | swap(num,1); | ||
+ | } | ||
+ | |||
+ | </script> | ||
<body id="home" onload="setPageSize()"> | <body id="home" onload="setPageSize()"> | ||
Line 15: | Line 56: | ||
<div id="super_main_wrapper"> | <div id="super_main_wrapper"> | ||
<div id="SubWrapper"> | <div id="SubWrapper"> | ||
+ | |||
+ | <div id="a4"> | ||
+ | <a href="http://2012HS.igem.org/Team:Heidelberg_LSL/Check_out" onMouseOver="mouseOver(1)" onMouseOut="mouseOut(1)"> | ||
+ | <img id="pic1" src="https://static.igem.org/mediawiki/2012hs/7/75/Order_now_b.png" width="175"/> | ||
+ | </a> | ||
+ | </div> | ||
+ | |||
+ | <div id="a5"> | ||
+ | <a href="http://2012HS.igem.org/Team:Heidelberg_LSL/Check_out" onMouseOver="mouseOver(1)" onMouseOut="mouseOut(1)"> | ||
+ | <img id="pic1" src="https://static.igem.org/mediawiki/2012hs/7/75/Order_now_b.png" width="175"/> | ||
+ | </a> | ||
+ | </div> | ||
+ | |||
+ | <div id="a6"> | ||
+ | <a href="http://2012HS.igem.org/Team:Heidelberg_LSL/Check_out" onMouseOver="mouseOver(1)" onMouseOut="mouseOut(1)"> | ||
+ | <img id="pic1" src="https://static.igem.org/mediawiki/2012hs/7/75/Order_now_b.png" width="175"/> | ||
+ | </a> | ||
+ | </div> | ||
<div class="img"> | <div class="img"> |
Revision as of 12:11, 10 June 2012