?
Solved

Problem embedding pdf in HTML.

Posted on 2010-09-09
5
Medium Priority
?
572 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)
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Video: Liquid Web Managed WordPress Comparisons

If you run run a WordPress, you understand the potential headaches you may face when updating your plugins and themes. Do you choose to update on the fly and risk taking down your site; or do you set up a staging, keep it in sync with your live site and use that to test updates?

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses

765 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