Difference between revisions of "Team:ShanghaitechChina"

Line 240: Line 240:
 
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
 
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
 
<title>ShanghaiTech University</title>
 
<title>ShanghaiTech University</title>
    <!-- <script src="https://2016.igem.org/Template:ShanghaitechChina/js/skollr?action=raw&ctype=text/javascript"></script> -->
+
    <script src="https://2016.igem.org/Template:ShanghaitechChina/js/skollr?action=raw&ctype=text/javascript"></script>
 
     <link rel="stylesheet" href="https://2016.igem.org/Template:ShanghaitechChina/css/bootstrap?action=raw&ctype=text/css">
 
     <link rel="stylesheet" href="https://2016.igem.org/Template:ShanghaitechChina/css/bootstrap?action=raw&ctype=text/css">
 
     <script src="https://2016.igem.org/Template:ShanghaitechChina/js/jquery?action=raw&ctype=text/javascript"></script>
 
     <script src="https://2016.igem.org/Template:ShanghaitechChina/js/jquery?action=raw&ctype=text/javascript"></script>
Line 304: Line 304:
 
});
 
});
  
</script>
 
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/skrollr/0.6.30/skrollr.min.js"></script>
 
<script type="text/javascript">
 
//<![CDATA[
 
  // Detect mobile browser
 
  var isMobile = function() {
 
    var check = false;
 
  if((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))){
 
      check=true;
 
 
    }
 
    return check;
 
  };
 
 
  if (!isMobile())
 
  {
 
    // Mediawiki escapes & to &amp;
 
    if (skrollr)
 
    {
 
      var s = skrollr.init();
 
    }
 
  }
 
//]]>
 
 
</script>
 
</script>
  

Revision as of 06:39, 17 October 2016

igem2016:ShanghaiTech

ShanghaiTech University