Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
One of the best things about interactive documents is that you can make objects appear exactly when and where they're most useful and you can make them go away when they're not needed anymore. For example, you can build the table of contents that can we used to navigate directly from any page to any page, and you can make it so this object stays hidden until someone wants to use it. It takes a little bit of effort, but it's a really nice feature for your documents to have, so let's see how to make it. My document here is a course catalog for the Roux Academy. It contains descriptions of the courses and a form to register for those courses at the end.
And if I look at page 3, I have the standard table of contents, which I could create with hyperlinks to the description of each course in the catalog, but in addition to that, we can also create something that looks like this that can appear on every page, just when people want it. The first thing we need to do is to create the destinations that each table of contents entry will lead to when it's clicked. Let's go to page 5 and set up some destinations. I'll double-click on the text frame to get my Type tool and I'll drag over the first course name.
I'll go to my Hyperlinks panel and from the Panel menu, I'll choose New Hyperlink Destination, and it becomes a text anchor named for the course. I'll click OK and repeat: New Hyperlink Destination, OK, and for the third one. Now I want my table of contents to appear on whatever page I happen to be on when I click this Contents button down at the bottom of the page.
So for that, I need to build it on the master page, so I'll go to my Pages panel, double-click on A-Master to show it, and I've already started to work on it a little bit. I'll show my Layers panel, and I created a separate layer for this called Pop-up TOC. I'll show that, and you can see what I've built here. Basically, I copied the table of contents from page 3 and I cut each of the course names out and put them in their own separate text frame. That's because everything you see here is going to become an individual button. Wherever I want to click to go to an individual course, that needs to be a button.
And I also created this little close button element up here. Now let's make the buttons for the three courses on page 5. I'll select the first text frame, Designing a Basic Digital Character1, and in fact, I'll double-click and select a course name again. I'll copy it and press Escape to select the frame. I'll go to my Buttons and Forms panel. I'll click on the plus button next Actions and I'll choose Go To Destination. I'll select Name and paste in that name that I just copied.
The Event will be On Release or Tap, Go To Destination, and then I'll choose the right destination. I'll also choose Hidden Until Triggered. I'll repeat that process for the other courses. Copy the name, select the frame, make it into a button that goes to that destination, paste in the name and select the destination, and make sure it's hidden until we trigger it. And repeat one more time.
All right, those buttons are set up. Now let's set up the close button. I'm going to select this, go to my Buttons and Forms and add an action: Show/Hide Buttons and Forms. I'm going to name this button Close TOC. I'll deselect and reselect so I see that name in the panel. And now what I want this button to do is to hide this entire table of contents, so all these buttons have to be hidden when this button is clicked. So the event is On Release or Tap, the action Show/Hide Buttons and Forms, and in Visibility I need to select all the buttons that make up this TOC.
So I'll select Close TOC and scroll all the way up and make sure I have all of them selected, and then I'll click Hide. I'll also make sure that this button is hidden until it's triggered. Now I need to do a similar thing for the buttons that make up the course names. When they're clicked, I need to make them hide the table of contents as well. So I'll add a second action, Show/ Hide Buttons and Forms. And fortunately for me, all the same buttons are still selected in the Visibility menu, so I can just click Hide. I'll repeat.
Lastly, I need to make this Contents button show the entire table of contents, so I need to pick the new buttons that I just created and make the Contents button show them. Now we're ready to preview. I'll press Command+Shift+Option+Return or Ctrl+Shift+Alt on the PC to preview the entire document in the SWF Preview panel. I'll click the Contents button and the table of contents appears. Let's jump to Page 5 and there we go. It took some setup work, but in return we got a really convenient table of contents element that lets us go directly to any page, from any page, by creating destinations first, then creating buttons that go to those destinations and hide the entire table of contents.
Get unlimited access to all courses for just $25/month.Become a member
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.