Team:Nankai

From 2014.igem.org

(Difference between revisions)
 
(32 intermediate revisions not shown)
Line 1: Line 1:
-
<html><br />
+
<html>
-
<html><br />
+
<!--Thanks to Nelson's works.make Bootstrap template (any outside servers) perfectly work in iGEM wiki system. How to? First you buy a server and upload your websites, and then copy my code below, replace your servers address. Second, in every iGEM wiki page, put the similar code.(How to edit page? Replace your school name (and year ) in "https://2014.igem.org/wiki/index.php?title=Team:Nankai&action=edit" and put it in your browser) (and if you want to edit Nankai/Team, just add /Team in that address) Third, in every linkage, replace "href="xxx" by "onclick=window.parent.location.href="xxx"", if you have pdf file, please upload to iGEM and paste the address. If you have further question please feel free to ask Nelson's email: yuiuiuiuiui@163.com-->
-
<head><br />
+
 
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><br />
+
 
-
<title>iframe全屏测试</title><br />
+
<meta name="viewport" content="width=device-width, initial-scale=1">
-
<mce:style><!--<br />
+
<script src="http://inankai.cn/igem/assets/jqueryv182.js"></script>
-
body { margin: 0px;  }<br />
+
<script>
-
iframe {border: 0px;}<br />
+
    $('head').empty();
-
--></mce:style><style mce_bogus="1">body { margin: 0px;  }<br />
+
-
iframe {border: 0px;}</style><br />
+
  $('body').empty().removeClass().css('margin','0');
-
</head><br />
+
 
-
<mce:script type="text/javascript"><!--<br />
+
  var iframe = $('<iframe src="http://inankai.cn/igem" style="border: 0; width: 100%;"></iframe>').css('height',$(window).height());
-
function resize(){<br />
+
  $('body').html(iframe);
-
document.getElementById('frame3d').style.height = document.body.clientHeight - 84+"px";<br />
+
 
-
}<br />
+
  $(window).resize(function () {
-
window.onresize = resize;</p>
+
    iframe.css('height',$(window).height());
-
<p>// --></mce:script><br />
+
  });
-
<body scroll="no"><br />
+
 
-
<img border="0" width="100%" height="84" src="./images/logo.png" mce_src="images/logo.png"><br />
+
</script>
-
<iframe id="frame3d" name="frame3d" frameborder="0" width="100%" scrolling="auto"<br />
+
-
style="margin-top: -4px;" onload="this.style.height=document.body.clientHeight-84"<br />
+
-
height="100%" src="http://inankai.cn/igem/" mce_src="map.jsp"></iframe><br />
+
-
</body><br />
+
</html>
</html>

Latest revision as of 01:30, 18 October 2014