Difference between revisions of "Team:CPU CHINA/Model/CFA"

 
(5 intermediate revisions by the same user not shown)
Line 93: Line 93:
 
<object id="obj" classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" width="100%" height="720">
 
<object id="obj" classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" width="100%" height="720">
 
             <param name="SRC" value="">
 
             <param name="SRC" value="">
             <embed id="embedid" width="100%" height="720" fullscreen="yes" src="https://static.igem.org/mediawiki/2017/4/4d/Ibcpdf.pdf" style="margin-top:50px" internalinstanceid="13">
+
             <embed id="embedid" width="100%" height="720" fullscreen="yes" src="https://static.igem.org/mediawiki/2018/c/ca/T--CPU_CHINA--M1-CEA.pdf" style="margin-top:50px" internalinstanceid="13">
 
             <noembed></noembed>
 
             <noembed></noembed>
 
              
 
              
 
         </object>
 
         </object>
+
 +
<center><a href="https://static.igem.org/mediawiki/2018/c/ca/T--CPU_CHINA--M1-CEA.pdf" download="Model of Liposome Gene Delivery.pdf"><button type="button" id="downloadCode" style="background-color:#2ebc4f;color:white;width:20%;height: 6rem;border:none;border-radius:0.5rem;">Download this pdf !</button></a></center>
 +
 
</div>
 
</div>
  
Line 106: Line 108:
 
<script>
 
<script>
 
$(document).ready(function(){
 
$(document).ready(function(){
$(".mw-content-ltr").css("height",document.body.scrollHeight+200+"px !important");
+
$("#obj").css("height",$(window).height()*0.9+"px !important");
 +
$("#embedid").css("height",$(window).height()*0.9+"px !important");
 
})
 
})
  
 
$(document).ready(function(){
 
$(document).ready(function(){
$("#obj").css("height",$(window).height()*0.9+"px !important");
+
$(".mw-content-ltr").css("height",document.body.scrollHeight+200+"px !important");
$("#embedid").css("height",$(window).height()*0.9+"px !important");
+
 
})
 
})
 +
 +
 
</script>
 
</script>
 
</html>
 
</html>

Latest revision as of 21:15, 17 October 2018