Difference between revisions of "Team:SJTU-BioX-Shanghai/Notebook"

 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
<script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:SJTU-BioX-Shanghai/jquery_media_js&action=raw&ctype=text/javascript"></script>
 
<script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:SJTU-BioX-Shanghai/jquery_media_js&action=raw&ctype=text/javascript"></script>
 
<style>
 
<style>
.pdf_viewer{
 
  width: 100%;
 
  height: 120vh;
 
  
}
 
  
 
</style>
 
</style>
Line 19: Line 15:
 
// set the active page
 
// set the active page
 
         $(".menu_item").eq(2).find("span").eq(0).css("background-color","rgba(200,200,200,0.5)");
 
         $(".menu_item").eq(2).find("span").eq(0).css("background-color","rgba(200,200,200,0.5)");
 +
        $(".menu_item").eq(2).find(".submenu_item").eq(1).css("background-color","rgba(200,200,200,0.5)");
  
 
         var molecular_src = 'https://static.igem.org/mediawiki/2018/5/54/T--SJTU-BioX-Shanghai--molecular_notebook.pdf';
 
         var molecular_src = 'https://static.igem.org/mediawiki/2018/5/54/T--SJTU-BioX-Shanghai--molecular_notebook.pdf';
Line 28: Line 25:
  
 
         $("#pdf_viewer1").media({
 
         $("#pdf_viewer1").media({
 
+
              width: "100%",
           
+
              height: "1600",
 
               autoplay : true,
 
               autoplay : true,
 
               src : molecular_src
 
               src : molecular_src
Line 36: Line 33:
  
 
         $("#pdf_viewer2").media({
 
         $("#pdf_viewer2").media({
 
+
              width: "100%",
 +
              height: "1600",
 
              
 
              
 
               autoplay : true,
 
               autoplay : true,
Line 45: Line 43:
  
 
         $("#pdf_viewer3").media({
 
         $("#pdf_viewer3").media({
 
+
              width: "100%",
 +
              height: "1600",
 
              
 
              
 
               autoplay : true,
 
               autoplay : true,

Latest revision as of 14:56, 5 December 2018