Line 626: | Line 626: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | <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> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 12:57, 19 October 2016