Logout Developer Knowledgebase Search Adobe Partners Main Adobe Solution Partner Finder Adobe Solution Partner Program Support Developer Knowledgebase Adobe Solution Partner Program Products & Technology Adobe
Developer Knowledgebase

Knowledgebase HomeAcrobat KB

Overview
Software Development Kits
Developer Knowledgebase
Support
Legal Notices
Feedback
Adobe Solution Partner Program
Join
Find a Solution Partner

Product
Acrobat
 
Version
5.0, 5.05
 
Last Edited
28-Jan-2003
 
Document
51866

How To: Remove or hide Acrobat toolbars from an external Acrobat window

Summary
An effective way is to open a PDF file on a browser window without Acrobat toolbars is to add #toolbar=0 to the HTML http code.

Issue
How do I display a pdf in the browser while hiding the Acrobat toolbar?
Solution
 Generally,  there are functions/properties to remove or hide Acrobat toolbars or tool buttons  through plug-ins, Windows OLE, Apple Event, and  JavaScript. For example, Acrobat document-level JavaScript provides a convenient way to remove tool buttons using the following code:
app.hideToolbarButton("ButtonName");
 However, hiding the toolbar through the Open Options in Acrobat will only hide the toolbar if the PDF does not work with the web browser. In order to open a PDF file in a web browser, without the Acrobat or Acrobat Reader toolbar, you would need to link to the PDF with the following HTML code, where #toolbar=0 follows the .pdf filename:

<P><a href=http://www.yourservername.com/filename.pdf#toolbar=0&zoom=85>Link without toolbar </a></P>


For both IE and Netscape (i.e, 4.7), the syntax #toolbar=0 should work. The syntax '#toolbar=false' works in IE 5.5 sp2 on Windows 2000.

back to top
Was this Knowledgebase document helpful? Yes  No
The articles in this knowledgebase are intended for use by software programmers currently using an Adobe SDK to extend or customize an Adobe product. These articles may be highly technical in nature.
If you have questions about an Adobe Product that are not related to development or an SDK product please visit: http://adobe.com/support/main.html
Copyright © Adobe Systems Incorporated. All rights reserved.
Terms of Use
Online Privacy Policy