Team:UCL PG/Notebook

From 2013.igem.org

(Difference between revisions)
Line 64: Line 64:
-
<object data='https://dl.dropboxusercontent.com/u/45600819/SpectraWiki/Labbook/SpectraLabbook.pdf#pagemode=bookmarks&toolbar=1'
+
<script type='text/javascript'>
-
        type='application/pdf'
+
-
        width='60%'
+
-
        height='800px'>
+
-
<p>It appears your Web browser is not configured to display PDF files.
+
  function embedPDF(){
-
No worries, just <a href='https://dl.dropboxusercontent.com/u/45600819/SpectraWiki/Labbook/SpectraLabbook.pdf'>click here to download the PDF file.</a></p>
+
-
</object>
+
    var myPDF = new PDFObject({
 +
 
 +
      url: 'https://dl.dropboxusercontent.com/u/45600819/SpectraWiki/Labbook/SpectraLabbook.pdf',
 +
      pdfOpenParams: { pagemode: 'bookmarks', toolbar: '1' }
 +
 
 +
    }).embed(); 
 +
 
 +
  }
 +
 
 +
  window.onload = embedPDF; //Feel free to replace window.onload if needed.
 +
 
 +
</script>
     <br><br>
     <br><br>

Revision as of 00:49, 17 September 2013