Team:SUSTC-Shenzhen/Contact

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><a href="/Team:SUSTC-Shenzhen">Home</a>
 +
      </li>
 +
      <li><a href="/Team:SUSTC-Shenzhen/Introduction">About</a>
 +
      </li>
 +
      <li class="active"><a href="#">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="cover-heading">We are here</h1>
-
loadjsfile("//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js");
+
      <p class="lead">1088 Xueyuan Rd., Nanshan District, Shenzhen, Guangdong, China</p>
-
//loadcssfile("//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css");
+
      <a class="lead" href="mailto:igem@sustc.edu.cn">
-
//loadjsfile("//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js");
+
              iGEM@sustc.edu.cn
-
 
+
            </a>
-
function defer(a) {
+
     </div>
-
  ($.fn.jquery==="2.1.1") ? a() : setTimeout(function() {
+
    <div class="mastfoot">
-
    defer(a);
+
      <div class="inner">
-
  }, 50);
+
        <p>2014 SUSTC-Shenzhen</p>
-
}
+
      </div>
-
defer(function() {
+
    </div>
-
  $.ajaxSetup({cache: false});
+
  </div>
-
  $.get("/Team:SUSTC-Shenzhen/WikiPlay/contact.htm?action=raw").success(function(data, textStatus, jqXHR) {
+
</body></html>
-
      
+
{{SUSTC-Shenzhen/themeJs}}
-
      $('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');
+
-
</script>
+
-
</html>
+

Revision as of 02:48, 28 July 2014

Team SUSTC-Shenzhen

We are here

1088 Xueyuan Rd., Nanshan District, Shenzhen, Guangdong, China

iGEM@sustc.edu.cn

2014 SUSTC-Shenzhen