Line 323: | Line 323: | ||
</div> | </div> | ||
</div> | </div> | ||
− | <!-- End--> <div style="background-color: #525659"><center> | + | <!-- End--> <div style="background-color: #525659"> |
− | < | + | |
+ | <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/2/26/T--UofC_Calgary--Applied_Design.pdf">Applied_Design.pdf</a> </span> | ||
+ | </object></center> | ||
+ | |||
</div> | </div> | ||
</div> | </div> | ||
Line 623: | Line 628: | ||
}); | }); | ||
}); | }); | ||
− | </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/2/26/T--UofC_Calgary--Applied_Design.pdf'; | ||
+ | img11.innerHTML = 'View PDF'; | ||
+ | |||
+ | document.getElementById("empty").appendChild(img11); | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | </script> | ||
+ | |||
</div> | </div> | ||
</div> | </div> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 13:07, 19 October 2016