Team:KIT-Kyoto/Test
From 2014.igem.org
(Difference between revisions)
Line 194: | Line 194: | ||
); | ); | ||
- | + | var ua = navigator.userAgent; | |
+ | if(ua.indexOf('iPhone') > 0 || ua.indexOf('Android') > 0 || ua.indexOf('BlackBerry') > 0 || ua.indexOf('Windows Phone') > 0){ | ||
+ | }else{ | ||
$("#close").removeClass('close'); | $("#close").removeClass('close'); | ||
$("#SideMenu").css({"left":"-215px"}); | $("#SideMenu").css({"left":"-215px"}); | ||
Line 201: | Line 203: | ||
$(".toplogo,#nav5,.active,.submenu").css({opacity:'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").css({'background-image':'url("https://static.igem.org/mediawiki/2014/d/d0/Kit_open.png")'}); | ||
- | + | } | |
$('#close a') | $('#close a') | ||
.click(function(){ | .click(function(){ |
Revision as of 17:56, 10 October 2014