Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Problem embedding pdf in HTML.

Posted on 2010-09-09
5
Medium Priority
?
573 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

610 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