QingweiFang (Talk | contribs) |
QingweiFang (Talk | contribs) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
<script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:SJTU-BioX-Shanghai/JS&action=raw&ctype=text/javascript"></script> | <script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:SJTU-BioX-Shanghai/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> | <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> | ||
<script> | <script> | ||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
Line 12: | 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 17: | Line 21: | ||
var mouse_src = 'https://static.igem.org/mediawiki/2018/c/c5/T--SJTU-BioX-Shanghai--Mouse_experiment_notebook.pdf'; | var mouse_src = 'https://static.igem.org/mediawiki/2018/c/c5/T--SJTU-BioX-Shanghai--Mouse_experiment_notebook.pdf'; | ||
− | $ | + | ($) |
− | + | ||
− | height : | + | $("#pdf_viewer1").media({ |
+ | width: "100%", | ||
+ | height: "1600", | ||
autoplay : true, | autoplay : true, | ||
src : molecular_src | src : molecular_src | ||
Line 27: | Line 33: | ||
$("#pdf_viewer2").media({ | $("#pdf_viewer2").media({ | ||
− | + | width: "100%", | |
− | + | height: "1600", | |
− | height : | + | |
autoplay : true, | autoplay : true, | ||
src : cell_src | src : cell_src | ||
Line 37: | Line 43: | ||
$("#pdf_viewer3").media({ | $("#pdf_viewer3").media({ | ||
− | + | width: "100%", | |
− | + | height: "1600", | |
− | height : | + | |
autoplay : true, | autoplay : true, | ||
src : mouse_src | src : mouse_src | ||
Line 136: | Line 142: | ||
</a> | </a> | ||
</h2> | </h2> | ||
− | <div id="pdf_viewer1"></div> | + | <div id="pdf_viewer1" class="pdf_viewer"></div> |
Line 142: | Line 148: | ||
<h2> | <h2> | ||
<a id="section2"> | <a id="section2"> | ||
− | <span class="place_holder"></span> | + | <span class="place_holder" ></span> |
Cell Experiment Notebook | Cell Experiment Notebook | ||
</a> | </a> | ||
</h2> | </h2> | ||
− | <div id="pdf_viewer2"></div> | + | <div id="pdf_viewer2" class="pdf_viewer"></div> |
Line 155: | Line 161: | ||
</a> | </a> | ||
</h2> | </h2> | ||
− | <div id="pdf_viewer3"></div> | + | <div id="pdf_viewer3" class="pdf_viewer"></div> |
<!--***************************end of .text***************************************--> | <!--***************************end of .text***************************************--> |
Latest revision as of 14:56, 5 December 2018