This page requires a Javascript enabled browser
<< Back | Main Menu | FAQ | [?]

Embed Document Files

Embed Adobe PDF/MS Office files internally or externally on a webpage.

CSS/JS files (add code to <HEAD> section):

1
NO JS/CSS files required.
Supported File Formats:
  • Microsoft Word (.DOC and .DOCX)
  • Microsoft Excel (.XLS and .XLSX)
  • Microsoft PowerPoint (.PPT and .PPTX)
  • Adobe Portable Document Format (.PDF)
  • Apple Pages (.PAGES)
  • Adobe Illustrator (.AI)
  • Adobe Photoshop (.PSD)
  • Tagged Image File Format (.TIFF)
  • Autodesk AutoCad (.DXF)
  • Scalable Vector Graphics (.SVG)
  • PostScript (.EPS, .PS)
  • TrueType (.TTF)
  • XML Paper Specification (.XPS)
  • Archive file types (.ZIP and .RAR)

Embed File

View code:

1
2
3
4
5
6
7
8
9
10
<!-- DC PDF Embed Start -->
<iframe src="http://docs.google.com/viewer?url=http://cdn.dcodes.net/sc-samples/sample.pdf&embedded=true" style="width:600px; height:500px;" frameborder="0">
    Your browser should support iFrame to view this PDF document</iframe>
<!-- DC PDF Embed End -->
Parameters:
---------------------
url - path to PDF file
embedded (true/false) - embed into page
width - width of pdf frame
height - height of pdf frame

File - Open External

View PDF File  (opens new window)

View code:

1
2
3
4
5
6
<!-- DC PDF Embed Start -->
<!-- DC PDF Embed End -->
Parameters:
---------------------
url - path to PDF file


© TemplateAccess