Team:SUSTC-Shenzhen

From 2014.igem.org

(Difference between revisions)
Line 1: Line 1:
 +
{{SUSTC-Shenzhen/removeStyles}}
 +
{{SUSTC-Shenzhen/themeCss}}
<html>
<html>
-
<script>
+
<nav role="navigation" class="navbar navbar-default navbar-fixed-top">
 +
  <div class="container-fluid">
 +
    <div class="navbar-header">
 +
      <a href="/">
 +
        <img src="https://static.igem.org/mediawiki/2014/2/22/Logo2014v2.png">
 +
      </a>
 +
    </div>
 +
    <ul class="nav navbar-nav">
 +
      <li class="active"><a href="#">Home</a>
 +
      </li>
 +
      <li><a href="/Team:SUSTC-Shenzhen/Introduction">About</a>
 +
      </li>
 +
      <li><a href="/Team:SUSTC-Shenzhen/Contact">Contact</a>
 +
      </li>
 +
    </ul>
 +
    <ul class="nav navbar-nav pull-right">
 +
      <li><a id="nav-login-status">Log in</a>
 +
      </li>
 +
    </ul>
 +
  </div>
 +
</nav>
-
function loadjsfile(filename){
+
<body>
-
   var fileref=document.createElement('script');
+
   <div id="main-content" class="container col-md-12">
-
  fileref.setAttribute("type","text/javascript");
+
-
  fileref.setAttribute("src", filename);
+
-
+
-
if (typeof fileref!="undefined")
+
-
  document.getElementsByTagName("head")[0].appendChild(fileref);
+
-
}
+
-
function loadcssfile(filename){
+
-
  var fileref=document.createElement("link");
+
-
  fileref.setAttribute("rel", "stylesheet");
+
-
  fileref.setAttribute("type", "text/css");
+
-
  fileref.setAttribute("href", filename);
+
-
+
-
if (typeof fileref!="undefined")
+
-
  document.getElementsByTagName("head")[0].appendChild(fileref);
+
-
}
+
-
document.children.item().innerHTML="";
+
    <div class="jumbotron">
 +
      <h1 class="jumbotron-header">iGEM SUSTC-Shenzhen</h1>
 +
      <p class="lead">Believe that something amazing will happen.</p>
 +
      <p class="lead">
 +
        <a href="http://www.freelists.org/list/igem-sustc" target="_blank" class="btn btn-lg btn-default">Stay focused</a>
 +
      </p>
 +
    </div>
-
loadjsfile("//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js");
+
    <div class="mastfoot">
-
//loadcssfile("//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css");
+
      <div class="inner">
-
//loadjsfile("//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js");
+
        <p>2014 SUSTC-Shenzhen</p>
 +
      </div>
 +
    </div>
 +
  </div>
-
function defer(a) {
 
-
  ($.fn.jquery==="2.1.1") ? a() : setTimeout(function() {
 
-
    defer(a);
 
-
  }, 50);
 
-
}
 
-
defer(function() {
 
-
  $.ajaxSetup({cache: false});
 
-
  $.get("/Team:SUSTC-Shenzhen/WikiPlay/index.htm?action=raw").success(function(data, textStatus, jqXHR) {
 
-
   
 
-
      $('html')[0].innerHTML = (data);
 
-
      //jQuery(selecteur).html(jqXHR.responseText);
 
-
      var reponse = jQuery(jqXHR.responseText);
 
-
      var reponseScript = reponse.filter("script");
 
-
      console.log(reponseScript);
 
-
      jQuery.each(reponseScript, function(idx, val) { eval(val.text);console.log(val.text); } );
 
-
   
 
-
  });
 
-
});
 
-
//$('html').load('/Team:SUSTC-Shenzhen/WikiPlay/index.htm?action=raw');
+
</body></html>
-
</script>
+
{{SUSTC-Shenzhen/themeJs}}
-
</html>
+

Revision as of 02:45, 28 July 2014

Team SUSTC-Shenzhen

iGEM SUSTC-Shenzhen

Believe that something amazing will happen.

Stay focused

2014 SUSTC-Shenzhen