 |
 | 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.
|