Showing and hiding items with buttons
When it comes to creating interactive features in your digital documents, buttons are a useful tool, and they are well-supported across a range of different InDesign export formats, including interactive PDFs.
In this recipe, we are going to use buttons to show and hide different images based on which button is being clicked. This is done using the Show/Hide Buttons and Forms action, which is just one of many features available within the InDesign Buttons and Forms panel.
Getting ready
In order to complete this recipe, simply open InDesign on your system and create a new document with 12 pages, as shown in the Creating a new document recipe of Chapter 1. You will also need three sample images to use – ideally, all of the same orientation.
How to do it…
In order to show and hide items using buttons, just follow these steps:
- In your document, create three identically sized rectangle frames side by side, and place...