|
|
Line 323: |
Line 323: |
| </div> | | </div> |
| </div> | | </div> |
− | <!-- End--> | + | <!-- End--> <div style="background-color: #525659"><center> |
− | | + | <embed src="https://static.igem.org/mediawiki/2016/f/f7/T--UofC_Calgary--BioTRes1.pdf" width="100%" height="600px"> </center> |
− | <center><div id="empty"></div></center>
| + | |
− | <!-- End--> <center id="pdf"> <object data="https://static.igem.org/mediawiki/2016/f/f7/T--UofC_Calgary--BioTRes1.pdf" type="application/pdf" width="100%" height="600px">
| + | |
− | <span style="font-size: 20px">Your device does not support embed PDFs. Please click the following link to open up the PDF. <a href="https://static.igem.org/mediawiki/2016/f/f7/T--UofC_Calgary--BioTRes1.pdf">BioTRes1.pdf</a> </span>
| + | |
− | </object></center>
| + | |
− | | + | |
| </div> | | </div> |
| </div> | | </div> |
Line 345: |
Line 340: |
| </div> | | </div> |
| </div> | | </div> |
− | <!-- End--> | + | <!-- End--> <div style="background-color: #525659"><center> |
− | <center id="pdf"> <object data="https://static.igem.org/mediawiki/2016/a/ad/T--UofC_Calgary--ChassisRes.pdf" type="application/pdf" width="100%" height="600px"> | + | <embed src="https://static.igem.org/mediawiki/2016/a/ad/T--UofC_Calgary--ChassisRes.pdf" width="100%" height="600px"> </center> |
− | <span style="font-size: 20px">Your device does not support embed PDFs. Please click the following link to open up the PDF. <a href="https://static.igem.org/mediawiki/2016/a/ad/T--UofC_Calgary--ChassisRes.pdff">ChassisRes.pdf</a> </span>
| + | |
− | </object></center>
| + | |
− | | + | |
| </div> | | </div> |
| </div> | | </div> |
Line 631: |
Line 623: |
| }); | | }); |
| }); | | }); |
− | </script> | + | </script> |
− | | + | |
− | <script>
| + | |
− | IS_IPAD = navigator.userAgent.match(/iPad/i) != null; IS_IPHONE = (navigator.userAgent.match(/iPhone/i) != null) || (navigator.userAgent.match(/iPod/i) != null); if (IS_IPAD) { IS_IPHONE = false; }
| + | |
− | | + | |
− | if(IS_IPAD || IS_IPHONE){
| + | |
− | document.getElementById("pdf").remove();
| + | |
− | | + | |
− | var img11=document.createElement("a");
| + | |
− | img11.href='https://static.igem.org/mediawiki/2016/f/f7/T--UofC_Calgary--BioTRes1.pdf';
| + | |
− | img11.innerHTML = 'View PDF';
| + | |
− | | + | |
− | document.getElementById("empty").appendChild(img11);
| + | |
− | | + | |
− | }
| + | |
− | | + | |
− | | + | |
− | </script>
| + | |
− | <script>
| + | |
− | IS_IPAD = navigator.userAgent.match(/iPad/i) != null; IS_IPHONE = (navigator.userAgent.match(/iPhone/i) != null) || (navigator.userAgent.match(/iPod/i) != null); if (IS_IPAD) { IS_IPHONE = false; }
| + | |
− | | + | |
− | if(IS_IPAD || IS_IPHONE){
| + | |
− | document.getElementById("pdf").remove();
| + | |
− | | + | |
− | var img11=document.createElement("a");
| + | |
− | img11.href='https://static.igem.org/mediawiki/2016/a/ad/T--UofC_Calgary--ChassisRes.pdf';
| + | |
− | img11.innerHTML = 'View PDF';
| + | |
− | | + | |
− | document.getElementById("empty").appendChild(img11);
| + | |
− | | + | |
− | }
| + | |
− | | + | |
− | | + | |
− | </script> | + | |
| </div> | | </div> |
| </div> | | </div> |
| </body> | | </body> |
| </html> | | </html> |