Solved

Problem embedding pdf in HTML.

Posted on 2010-09-09
5
570 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
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…

688 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