26 January, 2012

This post is in: Ramblings

Embedding pdfs without any Issu

Sick of relying on Issu, or other bloated third parties, simply for embedding documents?

Well, it turns out you can embed .pdf and .ppt files via Google Docs using a simple iframe. You don’t even need a Google account.

<iframe src="http://docs.google.com/gview?url=http://document.pdf&embedded=true"></iframe>

Simply replace the bold text with your document’s url and style the iframe with css.

This appears not to work very well with actual Google documents though, as it appends a load of navigation detritus. But it seems to work well for regular hosted documents.

Ramblings

Leave a Reply