Team:KIT-Kyoto
From 2014.igem.org
(Difference between revisions)
(3 intermediate revisions not shown) | |||
Line 47: | Line 47: | ||
<div class="timg"> | <div class="timg"> | ||
<div class="show"> | <div class="show"> | ||
- | <a href="/Team:KIT-Kyoto/Project"><img src="/wiki/images/ | + | <a href="/Team:KIT-Kyoto/Project"><img src="/wiki/images/5/58/Kit_E-motion.png" width="1920"> |
</a> | </a> | ||
</div> | </div> | ||
Line 185: | Line 185: | ||
}); | }); | ||
$('.hide').css('opacity','0'); | $('.hide').css('opacity','0'); | ||
- | $('. | + | $('.show a,.hide a').hover(function(){ |
var tnum = $('.true a').index(this); | var tnum = $('.true a').index(this); | ||
- | $('. | + | $('.true').eq(tnum).stop().animate({opacity:'0'},400); |
- | $('. | + | $('.true1').eq(tnum).stop().animate({opacity:'1'},400); |
}, | }, | ||
function(){ | function(){ | ||
var tnum = $('.true a').index(this); | var tnum = $('.true a').index(this); | ||
- | $('. | + | $('.true').eq(tnum).stop().animate({opacity:'1'},400); |
- | $('. | + | $('.true1').eq(tnum).stop().animate({opacity:'0'},400); |
} | } | ||
); | ); | ||
Line 211: | Line 211: | ||
if(ua.indexOf('iPhone') > 0 || ua.indexOf('Android') > 0 || ua.indexOf('BlackBerry') > 0 || ua.indexOf('Windows Phone') > 0){ | if(ua.indexOf('iPhone') > 0 || ua.indexOf('Android') > 0 || ua.indexOf('BlackBerry') > 0 || ua.indexOf('Windows Phone') > 0){ | ||
setTimeout(function(){topimg();},1100); | setTimeout(function(){topimg();},1100); | ||
- | $("#container").css({marginTop:'65px',marginLeft:'0px'}); | + | $("#container").css({marginTop:'65px',marginLeft:'0px','background-color':'background-color:rgba(0,0,0,0)'}); |
+ | $("#bodyContent").css({'background-color':'background-color:rgba(0,0,0,0.5);'}); | ||
}else{ | }else{ | ||
$(".show").addClass('true'); | $(".show").addClass('true'); |
Latest revision as of 06:27, 17 October 2014