User:KazutoIKEDA/wiki/change-image.js

From 2009.igem.org

(Difference between revisions)
Line 1: Line 1:
$(document).ready( function() {
$(document).ready( function() {
-
  $("#biomario .thumbnail img")
+
  $(".thumbnail img")
.hover(  
.hover(  
function(){
function(){

Revision as of 11:55, 21 October 2009

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

}):