Difference between revisions of "Template:PDF"

From Bestor_NL
Jump to: navigation, search
(Created page with "<includeonly> {{#widget:PDF |url={{#if: {{{url|}}} |{{{url|}}} |{{filepath: {{{name|}}} }} }} |width={{{width|750}}} |height={{{height|1050}}} }} </includeonly>")
 
m
Line 1: Line 1:
<includeonly>
+
<includeonly><object class="pdf-widget" data="<!--{$url|validate:url}-->" type="application/pdf" wmode="transparent" style="z-index: 999; height: 100%; min-height: <!--{$height|escape:'html'|default:680}-->px; width: 100%; max-width: <!--{$width|escape:'html'|default:960}-->px;"><param name="wmode" value="transparent">
{{#widget:PDF
+
<p>Currently your browser does not use a PDF plugin. You may however <a href="<!--{$url|validate:url}-->">download the PDF file</a> instead.</p></object></includeonly>
|url={{#if: {{{url|}}} |{{{url|}}} |{{filepath: {{{name|}}} }} }}
 
|width={{{width|750}}}
 
|height={{{height|1050}}}
 
}}
 
</includeonly>
 

Revision as of 09:19, 17 July 2017