How to disable navigation

Is it possible to disable all navigation in a multi-page .pdf and only allow the reader to navigate using links? Trying to present a demo on (4) 23" touch screen monitors and only want the operator to click links back and forth not just clicking in the middle of the page or something.


Dan Craddick


10 Answers

Voted Best Answer

With JavaScript, one can also disable the "clickAdvances" for the page open action for page 1 or as a document level script. In fact you might even want to use JavaScript to enter the full screen mode.

app.fs.isFullScreen = true;
app.fs.clickAdvances = false;


By George Kaiser   

In principle it's possible to do, but it would require applying a lot of scripts to the file, and it's not really worth the trouble, in my opinion. What do you care if the user browses the file in their own speed?

.


Visit my custom-made PDF scripts website: http://try67.blogspot.com
Contact me personally: try6767@gmail.com


Gilad D (try67)   

I am essentially trying to create an interactive 3d pdf. I have links within the document to specific pages and I need the operator to follow the linking methodology. If the user has the ability to click anywhere in the document to flip a page the sequence will be off.


Dan Craddick   

If this is not about locking the user out, but only to guide the user, using full-screen mode may be sufficient. The user can still get out of full screen mode, but if they just use the links on the touch screen, that's not a big problem.

To save a document so that it opens in full-screen mode, bring up the document properties (Ctrl-D or Cmd-D), then select the "Initial View" tab and select "Open in full screen mode".

Karl Heinz Kremer
PDF Acrobatics Without a Net
PDF Software Development, Training and More...
http://www.khkonsulting.com


Karl Heinz Kremer   

I have the document to open in full screen mode, and we tested it on the touch screen monitors. The user was still able to click in an open part of the document and force reader to page forward instead of clicking a button which signifies a link to the next page. Once the user clicked in an open part of the document they were taken to the next page which was not in the sequence we planned for and then the user got lost. I only want the user to be able to click an object which will sequence or hyperlink to another page in the document. Essentially creating an interactive 3d pdf work instruction.


Dan Craddick   

Ah, with a touchscreen, you are basically clicking when you touch.

In Acrobat's preferences, you can disable that: Select the "Full Screen" category on the preferences dialog and uncheck "Left click to go forward one page; right click to go back one page".

There are other controls on this page that may be useful for you.

If this is something that needs to work on other computers, where you don't have access to the preferences, you can add the following line of JavaScript as a document level JavaScirpt in your document:

app.fs.clickAdvances = false;

Karl Heinz Kremer
PDF Acrobatics Without a Net
PDF Software Development, Training and More...
http://www.khkonsulting.com


Karl Heinz Kremer   

I have that disabled in the preferences and once i save as .pdf the operator can still click anywhere to advance a page. Regarding your JV script where would i access that change and go about changing the script for that file? These interactive pdf's will only be used on those monitors.


Dan Craddick   

In Acrobat Pro select Tools>JavaScript>Document JavaScripts. If the JavaScript panel is not available, you will have to enable it using the menu button (see red arrow):

JavaScript

Once the dialog comes up, provide a name (e.g. FullScreen), then click on the Add button. In the editor remove everything and replace it with the one line from my last post. However, I don't think it will do anything different than the Preferences setting.

Karl Heinz Kremer
PDF Acrobatics Without a Net
PDF Software Development, Training and More...
http://www.khkonsulting.com


Karl Heinz Kremer   

I think that since this is a touch-screen monitor, it probably works like a tablet, where tapping anywhere on the page advances to the next page. In that case your best option is to place page-size buttons that do nothing. That should disable the auto-advance feature from kicking in...

.


Visit my custom-made PDF scripts website: http://try67.blogspot.com
Contact me personally: try6767@gmail.com


Gilad D (try67)   

The java script worked perfectly! Users cannot touch anywhere they now have to touch an icon to advance the pages backwards and forwards. Thanks for all the help!


Dan Craddick   


Please specify a reason: