Adding Navigation Buttons for Interactive Documents
Chad Chelius November 28, 2016
In the current state of design and publishing, the desire and need to create interactive documents is growing at a rapid pace. The term “interactive” however, can be applied to a plethora of technologies and file formats including DPS, AEM, PDF, FXL, and Publish Online just to name a few. Regardless of the intended output or format of your documents, the creation of navigation buttons in those documents is a common request from clients and designers alike. Although many applications that display these various documents offer methods for navigating from page to page, creating custom navigation buttons for your documents provides a much more immersive experience to the end user.
Adobe InDesign provides designers with the tools necessary to add interactive buttons to documents that will be retained when exported to .pdf, .fxl, .swf, and Publish Online. For users of DPS and AEM, these buttons work for those formats as well. In the example below, I’ll work with a multi-page InDesign document that I’ve created previously in which I’d like to add navigation buttons. InDesign allows you to create buttons from virtually any type of object including drawn shapes, text frames, graphic frames, and placed images. I would like the navigation buttons that I create to appear on every page of the document, so I’ll be creating them on a master page that all of the document pages in my document are based on.
Creating the Buttons
Begin by opening a document in which you’d like to add navigation buttons. Navigate to the master page and create the buttons where you’d like them to appear. For this example, I used two placed images of a boot print for the “previous” and “next” buttons and I drew a circle with a stroke to use as a “home” button.
When creating navigation buttons, it’s almost always desirable that they appear on top of everything else on each document page. For this reason, I always create a separate layer called “Master Items” or “Navigation Items” and put my navigation buttons on that layer, making sure it is at the very top of the stacking order in the Layers panel. Not only does this ensure that the buttons will appear on top of everything else in the stacking order, but it also helps keep things organized and provides the ability to show, hide, and lock those items if desired.
Now that you have the visual look of those buttons in place, it’s time to actually make those elements function and behave like buttons. Select one of the buttons and open the Buttons and Forms panel by choosing Window > Interactive > Buttons and Forms. Now, convert the selected object to a button by choosing Button from the Type drop-down menu or by clicking the Convert to Button button (I never get tired of saying that) at the bottom right corner of the Buttons and Forms panel. The selected object will now have a dashed border around it and an icon will appear in the lower-right corner of the object indicating that the object is a button. You’ll only see these elements if the object is selected and you are in Normal viewing mode. Preview mode will hide the icon.
Although we’ve converted the object to a button, that button currently doesn’t actually do anything. We need to add an action to the button to tell it what we want it to do when clicked or tapped. With the object still selected, click on the + sign in the Actions section and choose the action that you’d like the button to perform. In this example I chose Go To Previous Page. You’ll now see that action listed in the Actions section indicating that it is assigned to the selected button. Note that you can assign multiple actions to the same button. I like to name my buttons appropriately in the Name field. I do this mostly out of habit, but this is particularly helpful when you get into more complex button creation where you are controlling other buttons with the button you are creating. An appropriately named button is much easier to identify than “button 1”, “button 2”, “button 3”, etc.
Select one of the other buttons. This time, we’re going to speed up the process by simply clicking on the + sign in the Actions section and choosing Go To Next Page. Conveniently, this converts the selected object to a button and assigns an action to the button all in one step! Next, select the shape in the middle of the previous and next buttons and assign the Go To First Page action to it. This button will serve as a “home” button that takes the user back to the starting point at any point in time.
Testing the Buttons
Testing these buttons isn’t as straight forward as it could be, and your ability to test them within InDesign will depend on your destination format. In the case of an interactive PDF file, you’ll need to export the InDesign document as a PDF and test it in Adobe Acrobat or Adobe Reader. Just make sure that when you export the file as an Interactive PDF, that you enable the “Include Forms and Media” option. Unfortunately, button objects don’t usually work on mobile devices (like the iPad), because the PDF readers (even recent versions of Acrobat) don’t recognize them. If your PDF is destined for a mobile device, you may want to use a hyperlink instead. You can use anchored links to jump to a specific page.
In the case of Fixed-Layout EPUB and Flash, you can preview the interactivity using the EPUB Interactivity Preview panel or the SWF Preview panel both of which are found by choosing Window > Interactive in InDesign. These panels allow you to preview the buttons and other interactivity that you’ve added to your document before you actually export to those formats. One item worth mentioning is that the default preview in both the EPUB and SWF Preview panels is “Set Preview Spread Mode” which only previews the current page. To preview interactive buttons that navigate from one page to the next, be sure to enable the “Set Preview Document Mode” button. Both of these buttons are located in the lower right corner of each respective panel.
In the case of Publish Online and other formats, you’ll need to test them in their respective environments which usually means uploading them to their intended destinations for testing.
Regardless of your intended output, you’ll find that buttons can add a richer experience to your interactive documents making for a better overall experience for the end user.
Latest posts by Chad Chelius (see all)
Sign up for the InDesign
Tip of the Week
- Top InDesign Feature Requests: Adobe is listening!
- I See Blue Things: What are those weird squiggles and borders?
- Obscure InDesign Feature of the Week: Reveal Deleted Items
- Hopsa Rijnen said about Data Merging Individual Records to Separate PDFs:Hi there, hopefully someone will answer: I'm tryingf…
- Loic Aigon said about A Script for Making Bar Graphs with GREP:Nice one.
- Robin said about Windows Bug in CC 2018.1: First Character Ignored When Typing Over Selected Text:Hi there, I've got a similar bug. I…
Recent Forum Posts
Links EPS to PDF
1 hour, 41 minutes ago
Side Frame Handles on Narrow Text Boxes
1 hour, 39 minutes ago
Inconsistent Image Display After Converting Reflowable to Mobi
15 hours, 55 minutes ago
1 day, 2 hours ago
Remove Custom Stroke Style
16 hours, 11 minutes ago