Template:Team:HokkaidoU Japan/javascripts
From 2012.igem.org
(Difference between revisions)
Line 22: | Line 22: | ||
}, | }, | ||
function(){ | function(){ | ||
- | $('.hokkaidou-index-image-cross1:not(:animated)').animate({opacity: 'toggle', function(){ | + | $('.hokkaidou-index-image-cross1:not(:animated)').animate({opacity: 'toggle'}, function(){ |
$('#hokkaidou-index-wet1').css('display', 'block'); | $('#hokkaidou-index-wet1').css('display', 'block'); | ||
$('#hokkaidou-index-wet2').css('display', 'none'); | $('#hokkaidou-index-wet2').css('display', 'none'); | ||
Line 31: | Line 31: | ||
$('#hokkaidou-index-cross2').hover( | $('#hokkaidou-index-cross2').hover( | ||
function(){ | function(){ | ||
- | $('.hokkaidou-index-image-cross2:not(:animated)').animate({opacity: 'toggle', function(){ | + | $('.hokkaidou-index-image-cross2:not(:animated)').animate({opacity: 'toggle'}, function(){ |
$('#hokkaidou-index-wet1').css('display', 'none'); | $('#hokkaidou-index-wet1').css('display', 'none'); | ||
$('#hokkaidou-index-wet2').css('display', 'none'); | $('#hokkaidou-index-wet2').css('display', 'none'); | ||
Line 38: | Line 38: | ||
}, | }, | ||
function(){ | function(){ | ||
- | $('.hokkaidou-index-image-cross2:not(:animated)').animate({opacity: 'toggle', function(){ | + | $('.hokkaidou-index-image-cross2:not(:animated)').animate({opacity: 'toggle'}, function(){ |
$('#hokkaidou-index-wet1').css('display', 'block'); | $('#hokkaidou-index-wet1').css('display', 'block'); | ||
$('#hokkaidou-index-wet2').css('display', 'none'); | $('#hokkaidou-index-wet2').css('display', 'none'); |
Revision as of 17:10, 26 September 2012