Template:Team:SJTU-BioX-Shanghai/top-nav

From 2014.igem.org

(Difference between revisions)
Line 48: Line 48:
<link rel="stylesheet" type="text/css" href="http://2014.igem.org/Team:SJTU-BioX-Shanghai/index.css?action=raw&ctype=text/css">
<link rel="stylesheet" type="text/css" href="http://2014.igem.org/Team:SJTU-BioX-Shanghai/index.css?action=raw&ctype=text/css">
<link rel="stylesheet" type="text/css" href="http://2014.igem.org/Team:SJTU-BioX-Shanghai/component.css?action=raw&ctype=text/css">
<link rel="stylesheet" type="text/css" href="http://2014.igem.org/Team:SJTU-BioX-Shanghai/component.css?action=raw&ctype=text/css">
-
<script type="text/javascript">
 
-
var mobileAgent = new Array("iphone", "ipod", "ipad", "android", "mobile", "blackberry", "webos", "incognito", "webmate", "bada", "nokia", "lg", "ucweb", "skyfire");
 
-
var browser = navigator.userAgent.toLowerCase();
 
-
var isMobile = false;
 
-
for (var i=0; i<mobileAgent.length; i++){ if (browser.indexOf(mobileAgent[i])!=-1){ isMobile = false;
 
-
//alert(mobileAgent[i]);
 
<script type="text/javascript" src="http://2014.igem.org/Team:SJTU-BioX-Shanghai/jquery-1.11.1.min.js?action=raw&ctype=text/javascript"></script>
<script type="text/javascript" src="http://2014.igem.org/Team:SJTU-BioX-Shanghai/jquery-1.11.1.min.js?action=raw&ctype=text/javascript"></script>
<script type="text/javascript" src="http://2014.igem.org/Team:SJTU-BioX-Shanghai/untitled2.js?action=raw&ctype=text/javascript"></script>
<script type="text/javascript" src="http://2014.igem.org/Team:SJTU-BioX-Shanghai/untitled2.js?action=raw&ctype=text/javascript"></script>
Line 76: Line 70:
             var menu = new cbpTooltipMenu(document.getElementById('cbp-tm-menu'));
             var menu = new cbpTooltipMenu(document.getElementById('cbp-tm-menu'));
-
</script>
 
</script>
</script>
</html>
</html>

Revision as of 18:32, 12 October 2014