User:KazutoIKEDA/wiki/change-image.js

From 2009.igem.org

(Difference between revisions)
Line 1: Line 1:
-
$(document).ready( function() {
+
$(document).ready( function() { $(".thumbnail img").hover( function(){ $(this).fadeTo(200, 0.8);}, function(){ $(this).fadeTo(600, 1.0); } ); } );
-
$(".thumbnail img")
+
-
.hover(  
+
-
function(){
+
-
$(this).fadeTo(200, 0.8);
+
-
},
+
-
                        function(){
+
-
$(this).fadeTo(600, 1.0);
+
-
}
+
-
);
+
-
 
+
-
}):
+

Revision as of 11:57, 21 October 2009

$(document).ready( function() { $(".thumbnail img").hover( function(){ $(this).fadeTo(200, 0.8);}, function(){ $(this).fadeTo(600, 1.0); } ); } );