Hyperlink to selected document pages

This is the 5th tip in a series of tips on Interactive PDFs. We’ve learnt in previous tips to create buttons, add cool roll over effects, add actions to buttons and more. In this tip we’ll look at using InDesign’s Hyperlink feature to create a link from the thumb tabs that appear on all pages of the PDF to particular pages in the PDF.

084-00

Master page and artwork

At the very start of this interactive PDF project, I opted to create a Master Page, that contained all of the side tabs on it that appear on all pages of the document.

First I renamed the A-Master default master page that appears in all new InDesign document. By choosing from the Pages Panel menu Master Options for “A-Master”…, and changing the master Prefix to “b” and the Name to “Base”.

084-02

Why Base? well, this master page is going to be the base for all other master used in this project.

On this master page, I’ve added the 6 thumb tabs that are going to be a navigational link to selective pages in the finished PDF file.

084-03

To ensure the Tabs always on top of any other content, I’ve place the the 6 text frames in a separate layer called “ThumbTabs”.

084-01

Basing master pages on other master pages

As the background tints and textures applied to document pages in the 6 different sections vary, I opted to create additional master pages that would be applied to each section’s document pages.

In order to include the thumb tabs on these additional master pages, each New Master page I created is based on the “b-Base” master and thereby inherits all of the objects (the thumb tabs in this case) that exist on this master.

Choose New Master from the Pages panel menu and enter the Prefix and Name for this this master.

Next set Based on Master to ‘b-Base’ and click OK to add the master to the pages panel.

084-05

Each of the background textures was placed into its own layer.

084-06

With all this master work completed, and master pages applied to document pages we’re now ready to get the thumb tab links working.

084-051

Thumb tab links

Before we build the hyperlinks, there’s a little homework to: dot down which document page is the first page of each of the different sections to which the thumb tabs will lead 🙂

In all honestly there are few different methods you can use when creating hyperlinks and link destinations in InDesign. The most commonly used method is to set the destination options as you are creating the New Hyperlink. However, I prefer to set my hyperlink destinations first and then point to these destinations later on when creating the hyperlink. Maybe a preference I picked up from earlier Acrobat work… not sure…

In this example I’m focussing on the orange Melbourne thumb tab. It is going to link to page 6 of the document.

Display the Hyperlinks panel (Window > Interactive > Hyperlinks)

084-07

From the panel menu, choose New Hyperlink Destination.

In the dialog that appears set Type to Page.

Name the Destination and set the Page number to ‘6’ (or other number in your case).

084-08

The Zoom Setting enables you to set display behaviour for the destination page in the PDF. I’m choosing “Fit in Window”, as I’d like for the person clicking the thumb tab to see the entire first page of the Melbourne section.

Next, display the b-Base master page.

On the master page select the thumb tab for which you want to create the hyperlink. In the example I choose the Melbourne thumb tab text frame.

Choose New Hyperlink from the Hyperlinks panel.

In the dialog that appears choose set Link To to “Shared Destination”.  The destination we created earlier, can be used as many times for various different links if needed.

To complete the Destination setting, select the active Document, as this is the file in which we earlier created the destination and choose the Name of the destination. “Melbourne” in the sample here. [note: I’ve noticed that the Page reference below this isn’t always correct, not quite sure why, but believe me, the link will work in the end and jump to the correct page number]

084-091

Had I selected the text “Melbourne” instead of the text frame on the master page, I could have also assigned a different character style to be applied to the Hyperlink. Be aware though that applying a character style to a hyperlink text will remove any other local character style settings that might already be applied to the link text.

Appearance settings is another way in which you can make a hyperlink stand out. As the design of the interactive newsletter with its thumb tabs is pretty straight forward I opt not to apply a visual queue for the hyperlink.

For Appearance set Type to “Invisible Rectangle” and Highlight to “None” to create a fully functional hyperlink that only become apparent to the user when they move the cursor over the tab.

Click OK to complete the hyperlink.

We’re now ready to test this rollover effect in the interactive PDF.

Creating the PDF

Choose a File > Adobe PDF Presets and select a PDF setting from the list of settings. Alternatively choose File > Export and set Format to PDF.

084-10

In the General section of the Export Adobe PDF dialog ensure the Hyperlinks option is enabled for inclusion. Next click Export and generate the PDF.