PDF Files: Load them in a page?

liunx

Guest
This may be so simple, but I haven't located anything on what scripting I need to input in order for a acrobat .pdf file to launch within a webpage. <br />
<br />
I think this should be a relatively easy thing to do??? I think.<br />
<br />
Any help would be greatly appreciated.<!--content-->Originally posted by petrocan <br />
This may be so simple, but I haven't located anything on what scripting I need to input in order for a acrobat .pdf file to launch within a webpage. <br />
<br />
I think this should be a relatively easy thing to do??? I think.<br />
<br />
Any help would be greatly appreciated. <br />
You cannot open it in the page, but you can link to it and it will open in a separate Adobe window. It is easy to do. Just give its location.<br />
<a HREF=http://www.webdeveloper.com/forum/archive/index.php/"your URL/your.pdf">Read PDF</a><br />
But it is hard on patience, since some PDF's are large and must have time to load.<!--content-->OK, thank you so very much, I have shakin' the cobwebs out of my head and it works.<br />
<br />
Greatly appreciated.<!--content-->1. Link from HTML doc to PDF:<br />
<a href=http://www.adobe.com/a.pdf><br />
<br />
2. Embed PDF in HTML<br />
<EMBED SRC=http://www.adobe.com/a.pdf><br />
<br />
3. Scale an embedded PDF:<br />
<EMBED SRC=http://www.adobe.com/a.pdf WIDTH=50% HEIGHT=50%><!--content-->There is no EMBED element (<!-- m --><a class="postlink" href="http://www.w3.org/TR/html4/index/elements.html">http://www.w3.org/TR/html4/index/elements.html</a><!-- m -->). You'll have to use the OBJECT element instead if you want the page to be valid. (<!-- m --><a class="postlink" href="http://www.w3.org/TR/html4/struct/objects.html#edef-OBJECT">http://www.w3.org/TR/html4/struct/objec ... def-OBJECT</a><!-- m -->)<br />
<br />
<object data="Standards.pdf" type="application/pdf"><a href=http://www.webdeveloper.com/forum/archive/index.php/"Standards.pdf">Standards</a></object><br />
<br />
You will need to include that interior link for non-graphical and substandard, graphical browsers that do not understand the OBJECT element which came out in 1997. The piece of dung MSIE is the only graphical browser known to me that doesn't understand the OBJECT element.<!--content-->
 
Back
Top