Team:KIT-Kyoto

From 2014.igem.org

(Difference between revisions)
 
(4 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/c/c2/Kit_Projectmenu.png" width="1920">
+
<a href="/Team:KIT-Kyoto/Project"><img src="/wiki/images/5/58/Kit_E-motion.png" width="1920">
</a>
</a>
</div>
</div>
Line 186: Line 186:
$('.hide').css('opacity','0');
$('.hide').css('opacity','0');
$('.show a,.hide a').hover(function(){
$('.show a,.hide a').hover(function(){
-
var tnum = $('.show a').index(this);
+
var tnum = $('.true a').index(this);
-
$('.show').eq(tnum).stop().animate({opacity:'0'},400);
+
$('.true').eq(tnum).stop().animate({opacity:'0'},400);
-
$('.hide').eq(tnum).stop().animate({opacity:'1'},400);
+
$('.true1').eq(tnum).stop().animate({opacity:'1'},400);
},
},
function(){
function(){
-
var tnum = $('.show a').index(this);
+
var tnum = $('.true a').index(this);
-
$('.show').eq(tnum).stop().animate({opacity:'1'},400);
+
$('.true').eq(tnum).stop().animate({opacity:'1'},400);
-
$('.hide').eq(tnum).stop().animate({opacity:'0'},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');
 +
        $(".hide").addClass('true1')
         $("#close").removeClass('close');
         $("#close").removeClass('close');
         $("#SideMenu").css({"left":"-215px"});
         $("#SideMenu").css({"left":"-215px"});

Latest revision as of 06:27, 17 October 2014


kit