Solved

Problem embedding pdf in HTML.

Posted on 2010-09-09
5
566 Views
Last Modified: 2012-05-10
I am embedding a pdf document in an html page using this syntax:

<object type="application/pdf" data="documents/test.pdf#toolbar=0&navpanes=0&scrollbar=0" width="770" height="1990" >Click <a href="documents/test.pdf#toolbar=0&navpanes=0&scrollbar=0">here</a> to view the file</object>

It works but the options to hide the tool bar, navigation panes, and scroll bar are not used on one of my test workstations and I do not know why.

Kevin
desired.jpg
not-desired.jpg
0
Comment
Question by:zorvek (Kevin Jones)
  • 3
5 Comments
 
LVL 3

Expert Comment

by:WiB
ID: 33641930
what about
toolbar=no?
0
 
LVL 81

Author Comment

by:zorvek (Kevin Jones)
ID: 33642010
Using that syntax shows the extra stuff on all boxes.

More info: the problem occurs on Windows 7 in both IE and Firefox. It does not occur in Windows XP on either IE or Firefox.

Kevin
0
 
LVL 14

Expert Comment

by:frankhelk
ID: 33645220
0
 
LVL 81

Author Comment

by:zorvek (Kevin Jones)
ID: 33648646
I have that document and created the URL from the specifications contained within.

The problem seems to be that the browsers on Windows 7 are using a different PDF viewer that is not compatible with or does not understand those parameters. I can't seem to determine what PDF view is  being used.

Kevin
0
 
LVL 81

Accepted Solution

by:
zorvek (Kevin Jones) earned 0 total points
ID: 33649151
I figured it out. The box that was not working as desired had Adobe Acrobat 7 installed. The parameters I am using were not implemented until version 8. I installed Reader 9 and the parameters worked.

Kevin
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
This article discusses four methods for overlaying images in a container on a web page
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question