Link to home
Start Free TrialLog in
Avatar of zorvek (Kevin Jones)
zorvek (Kevin Jones)Flag for United States of America

asked on

Problem embedding pdf in HTML.

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
Avatar of WiB
WiB

what about
toolbar=no?
Avatar of zorvek (Kevin Jones)

ASKER

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
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
ASKER CERTIFIED SOLUTION
Avatar of zorvek (Kevin Jones)
zorvek (Kevin Jones)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial