Team:Minnesota/Test

From 2012.igem.org

(Difference between revisions)
m
m
Line 28: Line 28:
$("#mainRightButton1").hover(
$("#mainRightButton1").hover(
-
     function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/temp_maroon_txt.png");},           
+
     function() {
 +
      $(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/temp_maroon_txt.png");
 +
      $(#MainBoxContentImage).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/image1_resized.png");
 +
    },           
     function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/temp_maroon_img.png");}
     function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/temp_maroon_img.png");}
);
);
-
 
+
$("#mainRightButton2").hover(
 +
    function() {
 +
      $(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/temp_maroon_txt.png");
 +
      $(#MainBoxContentImage).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/image2_resized.png");
 +
    },         
 +
    function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/temp_maroon_img.png");}
 +
);
//social media button switchers
//social media button switchers
Line 312: Line 321:
<div id="MainBoxContent">
<div id="MainBoxContent">
-
<img src="http://i1158.photobucket.com/albums/p607/iGEM_MN/image1_resized.png">
+
<img id="MainBoxContentImg" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/image1_resized.png">
<div class="mainContentTextBanner">
<div class="mainContentTextBanner">
</div><!--end mainContentTextBanner-->
</div><!--end mainContentTextBanner-->
Line 323: Line 332:
<a href="#"><img id="mainRightButton1" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/temp_maroon_img.png"></a>
<a href="#"><img id="mainRightButton1" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/temp_maroon_img.png"></a>
</div>
</div>
-
<div id="mainRightButton2" style="position:absolute;left:5px;top:75px;">
+
<div style="position:absolute;left:5px;top:75px;">
-
<a href="#"><img src="http://i1158.photobucket.com/albums/p607/iGEM_MN/temp_maroon_img.png"></a>
+
<a href="#"><img id="mainRightButton2" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/temp_maroon_img.png"></a>
</div>
</div>
-
<div id="mainRightButton3" style="position:absolute;left:5px;top:150px;">
+
<div style="position:absolute;left:5px;top:150px;">
-
<a href="#"><img src="http://i1158.photobucket.com/albums/p607/iGEM_MN/temp_maroon_img.png"></a>
+
<a href="#"><img id="mainRightButton3" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/temp_maroon_img.png"></a>
</div>
</div>

Revision as of 20:32, 22 August 2012

Team:Minnesota - Main Style Template Team:Minnesota

Like us on FB and follow us on Twitter!