<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
<iframe style="position:absolute; top:0px; left:0px; width:100%; height:400px; z-index:0" src="http://samplepdf.com/sample.pdf">
</iframe>
<iframe style="position:absolute; top:100px; left:100px; width:100px; height:100px; z-index:1" frameborder="0">
</iframe>
<div style="position:absolute; top:100px; left:100px; width:100px; height:100px; background-color:green; z-index:2">Ce DIV s'affiche sous IE à condition de laisser l'iframe avec z-index:1</div>
</body>
</html>
<!–
Enables the PdfJs viewer for all PDF documents or Embed in older browsers
The PdfJs <plugin> element supports the following attributes to further control the viewer
* src="value" Name of the thumbnail to display, which should be a PDF (default null, forces the cm:content property to be used)
* skipbrowsertest="true|false" Skipbrowser test, mostly for developer to force test loading (default "false")
* mode="iframe|block" Display mode. "block" is the normal Share view, "iframe" uses the pdf.js viewer in an iframe (deprecated, default "block")
* defaultScale="page-width|two-page-width|page-height|page-fit|two-page-fit|auto|value" Default zoom level for new documents, either a predefined string (for auto-calculation) or a decimal number between 0 and 1 (default "two-page-fit")
* scaleDelta="value" Multipler for zooming in/out, should be a decimal > 1 (default "1.1")
* pageLayout="single|multi" Layout to use to display pages, "single" (one page per row) or "multi" (multiple pages per row) (default "multi")
* disableTextLayer="true|false" Whether text overlays on pages should be disabled. Overlays allow users to select text content in their browser but reduce rendering performance (default "false")
* useLocalStorage="true|false" Whether to use HTML5 browser storage to persist the page number and zoom level of previously-viewed documents (default "true")
The Embed <plugin> element supports the following attributes
* src="value" Name of the thumbnail to display (default null, forces the cm:content property to be used)
* ieActiveX="true|false" Comma separated string of Windows ActiveX id:s. Used in Internet Explorer only to test for plugin presence. (default "AcroPDF.PDF,PDF.PdfCtrl,FOXITREADEROCX.FoxitReaderOCXCtrl.1")
* testPluginAvailability="true|false" Test if a plugin is available. Use for mime types that need a plugin to display for example application/pdf (default "false")
–>
<condition mimeType="application/pdf">
<plugin defaultScale="page-width" mode="iframe">PdfJs</plugin>
<plugin>Embed</plugin>
</condition>
<!–
Enables the PdfJs viewer for other content which can be transformed to PDF or Embed
in older browsers.
Note, the OpenOffice transformer must be available on the server for this to work.
–>
<condition thumbnail="pdf">
<plugin src="pdf" defaultScale="page-width" mode="iframe">PdfJs</plugin>
<plugin src="pdf">Embed</plugin>
</condition>
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.