Team:Minnesota/Test

From 2012.igem.org

(Difference between revisions)
m
m
Line 27: Line 27:
//main page image switcher
//main page image switcher
$("#mainRightButton1").mouseover(function(){
$("#mainRightButton1").mouseover(function(){
-
   $("#mainRightButton1").html('<a href="#"><img src="http://i1158.photobucket.com/albums/p607/iGEM_MN/temp_maroon_txt.png"></a>');
+
   $("#mainRightButton1").hide();
});
});
-
$("#mainRightButton1").mouseleave(function(){
+
 
-
   $("#mainRightButton1").html('<a href="#"><img src="http://i1158.photobucket.com/albums/p607/iGEM_MN/temp_maroon_img.png"></a>');
+
$("#mainRightButton1").mouseout(function(){
-
  alert("Mouseleave!");
+
   $("#mainRightButton1").show();
});
});
Line 295: Line 295:
<div id="mainRightButton1" style="position:absolute;left:5px;top:0px;">
<div id="mainRightButton1" style="position:absolute;left:5px;top:0px;">
<a href="#"><img src="http://i1158.photobucket.com/albums/p607/iGEM_MN/temp_maroon_img.png"></a>
<a href="#"><img src="http://i1158.photobucket.com/albums/p607/iGEM_MN/temp_maroon_img.png"></a>
 +
</div>
 +
<div id="mainRightButton1-2" style="position:absolute;left:5px;top:0px;">
 +
<a href="#"><img src="http://i1158.photobucket.com/albums/p607/iGEM_MN/temp_maroon_txt.png"></a>
</div>
</div>
<div id="mainRightButton2" style="position:absolute;left:5px;top:75px;">
<div id="mainRightButton2" style="position:absolute;left:5px;top:75px;">

Revision as of 03:32, 22 August 2012

Team:Minnesota - Main Style Template Team:Minnesota