Team:KIT-Kyoto/Test

From 2014.igem.org

(Difference between revisions)
Line 199: Line 199:
     var ua = navigator.userAgent;
     var ua = navigator.userAgent;
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){
-
topimg();
+
setTimeout(function(){topimg();},100);
$("#container").css({marginTop:'70px',marginLeft:'0px'});
$("#container").css({marginTop:'70px',marginLeft:'0px'});
-
}else{
 
-
        $("#close").removeClass('close');
 
-
        $("#SideMenu").css({"left":"-215px"});
 
-
        $("div#container").css({"margin":"0px 0px 0px 35px"});
 
-
        $("#close").css({'left':'0'});
 
-
        $(".toplogo,#nav5,.active,.submenu").css({opacity:'0'});
 
-
        $("#close a").css({'background-image':'url("https://static.igem.org/mediawiki/2014/d/d0/Kit_open.png")'});
 
}
}
         $('#close a')
         $('#close a')

Revision as of 18:15, 10 October 2014


kit