Is there a script to hide only the left navigation pane containing the buttons (signatures, layers, paperclip, etc)? I can hide it manually by right clicking it and choose "Hide navigation pane buttons".
Thanks
Radzmar - I tried that script from your other post but it also closes the scroll bar on the right side. I have the scipt under the docReady event:
form1::docReady - (JavaScript, client)
event.target.viewState = {overViewMode:5};
I can close the panel manually that has the bookmarks, layers, paperclip, etc... and it does not close the scroll bar on the right but can't figure out a script that will do that.
Thanks for trying to help.
-Don
Ok, here's another suggestion.
There is another method to show/hide panes too, which is undocumented I think.
// Minimize panes
event.target.pane = "";
// Show Bookmark pane
event.target.pane = "B";
// Show Layers pane
event.target.pane = "L";
// Show Thumbnail pane
event.target.pane = "T";
// Fullscreen mode
event.target.pane = "F";
Ok, open Acrobat press Ctrl + J.
The JS Debugger should open, if not it's not active (check Acrobat's preferences Ctrl + K > JavaScript > Enable Acrobat JavaScript + Enable interactive console).
In the Debugger select the console view if it is not already selected.
Below you'll see a window you can type in JavaScripts.
Enter the script and press Ctrl + Return to execute it.
Maybe I confused things.
this.pane = ""; or this.viewState = {overViewMode:1}; or app.execMenuItem("ShowHideNavigationPane"); minimizes the left pane to the icon view.
this.viewState = {overViewMode:5}; will hide it completly but also the scroll bar.
There seems to be not way to hide the bar but keep the scroll bar active. ![]()
North America
Europe, Middle East and Africa
Asia Pacific