Team:Heidelberg LSL/Sundra col
From 2012hs.igem.org
(Difference between revisions)
Line 12: | Line 12: | ||
</style> | </style> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | |||
+ | var Sundraarray = new Array(); | ||
+ | var Sundroarray = 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 18: | Line 54: | ||
<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 class="img"> | <div class="img"> |
Revision as of 12:03, 10 June 2012