Description Usage Arguments Details Value Author(s) References Examples
Write code to embed Scribd document in an HTML page
1 2 3 |
doc |
A document id (or object of class “scribd_doc”) to embed. |
div.id |
A name to use as the |
onDocReady |
A character string containing the body of a javscript function called |
addParam |
A named list of parameters to add to the javascript before writing the embedded document to the page. See here for further details. |
beforewrite |
A character string containing valid javascript code to write to the script prior to the document being written to the page. |
afterwrite |
A character string containing valid javascript code to write to the script after the document is written to the page. |
... |
Ignored. |
This function builds a simple snippet of HTML and javascript to produce an iframe-embedded Scribd document. The addParam
argument can be used to control the appearance of the embedded document.
A character string containing the HTML and javascript code.
Thomas J. Leeper
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.