User:KazutoIKEDA/wiki/change-image.js
From 2009.igem.org
(Difference between revisions)
KazutoIKEDA (Talk | contribs) |
KazutoIKEDA (Talk | contribs) |
||
Line 3: | Line 3: | ||
.click( | .click( | ||
function() { | function() { | ||
- | + | $(this).fadeTo(200, 0.8); | |
- | + | ||
} | } | ||
); | ); |
Revision as of 03:24, 20 October 2009
$(document).ready( function() { $(".thumbnail img") .click( function() { $(this).fadeTo(200, 0.8); } ); }); $(document).ready( function() { $(".funwari") .hover( function(){// マウスオーバー時 $(this).fadeTo(200, 0.8); }, function(){// マウスアウト時 $(this).fadeTo(600, 1.0); } ); });