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

(Created page with "{{:Team:CPU_CHINA/Templates/NavFoot}} <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <script src="http://2018.igem....")
 
Line 89: Line 89:
  
 
<!--*****************************正文主体********************************* -->
 
<!--*****************************正文主体********************************* -->
<div class="container" style="position:relative;top:300px;">
+
<div class="container" style="position:relative;top:200px;">
  
<object 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 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/2017/4/4d/Ibcpdf.pdf" style="margin-top:50px" internalinstanceid="13">
 
             <noembed></noembed>
 
             <noembed></noembed>
 
              
 
              
Line 107: Line 107:
 
$(document).ready(function(){
 
$(document).ready(function(){
 
$(".mw-content-ltr").css("height",document.body.scrollHeight+200+"px !important");
 
$(".mw-content-ltr").css("height",document.body.scrollHeight+200+"px !important");
 +
})
 +
 +
$(document).ready(function(){
 +
$("#obj").css("height",$(window).height()*0.9+"px !important");
 +
$("#embedid").css("height",$(window).height()*0.9+"px !important");
 
})
 
})
 
</script>
 
</script>
 
</html>
 
</html>

Revision as of 14:00, 17 October 2018