Team:Minnesota/Test

From 2012.igem.org

(Difference between revisions)
m
m
Line 5: Line 5:
<title>Team:Minnesota</title>
<title>Team:Minnesota</title>
-
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
+
<script type="text/javascript" src="jquery.js"></script>
-
 
+
-
 
+
<script type="text/javascript">
<script type="text/javascript">
Line 28: Line 26:
//main page image switcher
//main page image switcher
 +
$("#mainRightButton1").hover(
 +
    alert("hover called!");
 +
    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_txt.png");
 +
});
-
$(document).ready(function(){
 
-
    $("#mainRightButton1").hover(
 
-
        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_txt.png");
 
-
    });
 
-
});
 

Revision as of 19:56, 22 August 2012

Team:Minnesota - Main Style Template Team:Minnesota