Embedding a PDF using PDFObject:
Conditional JavaScript invoked upon successful embed
(Advanced example)

This example uses a few lines of JavaScript wrapped in a window.onload statement, with a little CSS added to control the styling of the embedded element.

« Return to PDFObject home