We launched a new IT training category! Check out the 140+ courses now.

Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Page and anchor links

From: InDesign Insider Training: Interactive PDFs

Video: Page and anchor links

In the last movie I talked about making hyperlinks that

Page and anchor links

In the last movie I talked about making hyperlinks that point outside your document, such as URLs, and email links. Now let's talk about navigation, that is hyperlinks that take you somewhere inside your PDF. These are called page links and anchor links. Creating page and anchor links turns out to be super important, when it comes to reading PDFs on a tablet. Most people who make interactive PDFs use buttons to navigate from one page to another, and I'll be talking about buttons in a later chapter. But unfortunately, buttons are not reliable on tablets, so I generally recommend that people use hyperlinks instead, which almost always work.

Before we make our first page or anchor link, I want to point out that if you've already used InDesign's table of contents feature or the index feature or the cross references, all of those page numbers are automatically turned into hyperlink's for you when you export your PDF. For example, I have my interactive catalog open here and I'm going to press Shift + page down a couple of times to see my table of contents page. Now this table of contents was created by going to the Layout menu and choosing Table of Contents. So, I know that all of this text and all of these numbers are automatically linked to those pages in the document.

Now if I look in my Hyperlinks panel, you'll see that those links do not show up here, but they will work when I export the PDF. That is a big time savings. I would not want to try and create each one of those manually. But sometimes you do need to build your own hyperlinks that jump to a page in a PDF. For example, I'm going to zoom into this text up here by holding on Cmd + Spacebar or Ctrl + Spacebar in Windows, and I want to select some of the text in here, so I'll double-click with a selection tool, which switches to the type tool automatically, and then I can select the text, one of our four campuses.

I want that text, when anybody clicks on it, to take them to page 11. I happen to know that that's where the campus's page is. So, to do that, I'm going to create either a page link or a text anchor link. Let's start with making a page link. In the Hyperlinks panel, I'll simply click on the new hyperlink button. Then, from the link to popup menu, I'm going to choose Page. Now all I have to do is type in exactly what page I wanted to go to. I'm going to have it go to page 11. Underneath there, you can see that you can choose a Zoom Setting.

In other words, after jumping to that page, what magnification do you want to be at? I usually chose Fit in Window. That makes sure the whole page fits inside the Acrobat window. Notice that you can also apply a character style to this hyperlink. I have already made a character style in this document, called hyperlink, so I'll choose that here, then I'll click OK. If I click out here to deselect my text, you can see that the character style has been applied, that's that thin orange line underneath the text. And more importantly, you can see that our hyperlink shows up at the bottom of our Hyperlinks panel.

There it is. One of our four campuses. That's the text that I had selected, so it made that the name of the hyperlink in the Hyperlinks panel. If I hover over that hyperlink, InDesign tells me that it's going to take me to page 11. Also over here in the right column, I can see a little page icon that tells me this is in fact a page hyperlink. Let's try it out. A click on that icon and InDesign jumps right to that page and it fits the page in window, just the way I asked it to, but there is one problem with these kinds of page links and that is: what happens if you add a page or remove a page or the page gets shuffled somehow? A page 11 link is always going to go to page 11.

So because of that, I tend not to use page links as much as anchor links. So let me show you how to make an anchor link? Anchor links always have to go inside a text frame. It can even be an empty text frame anywhere on the page, it doesn't really matter. But in this case, I have a text frame already, so I'm just going to click here, before the T in The Campus. And I'm going to add an anchor into that position. To do that, I'll go to the Hyperlinks panel menu and I'll choose New Hyperlink Destination. So I'm creating a destination here and the destination is going to be the type of Text Anchor.

Now all I have to do is name it. I'll call this campus page. Now I click OK. And it added the anchor into that position. I can't see the anchor here on my page, but I know it's there and I know that I can point to it. So I'm going to click this little page number next to this hyperlink that I've just created and that takes me back to the source. Back to that original text. And now I'm going to double-click on my hyperlink to edit it. In this case instead of a Page Link To, I'm going to choose Text Anchor. And because there's the only one text anchor in this document, it chooses that for me automatically in the text anchor popup menu.

If I had more than one, I would have to choose that out of this popup menu here. Now, if you're paying attention, you'll notice that there's another popup menu just above that called Document. And this is interesting, this will actually show all the documents that are currently open right now in InDesign. Or, I could even choose Browse, to choose a different InDesign document on disk. But I have to warn you, it's not a good idea. Instead, I always recommend that people link inside one document, just the document you're working on. I've just seen to many wierd problems trying to do cross document linking.

Okay, now when I click OK, it doesn't look like anything is changed. But if you look over here on the right column of the right side of this hyperlink. The icon has changed, and that tells me that it's pointing to a text anchor. Not a page. Let's try it. I'll click on the text anchor and boom. It takes me right to that place. It even places the text cursor in the text. So, text anchors are very easy to make and they're very flexible. For example, you could move the text anchor to a different page. And all the links that were pointing to that text anchor, would update to point there instead.

In fact, an anchor is literally just some invisible text inside that frame. You can see that by opening the story editor. For example, I'll go to the Edit menu, and choose Edit in Story Editor. And there it is. Right up at the top. See that thing that looks a little bit like a target? That's the text anchor. It's just a character. You could select this and cut it to the clipboard. Paste it somewhere else if you wanted to. And then all of your links would update to take you that new location.

Show transcript

This video is part of

Image for InDesign Insider Training: Interactive PDFs
InDesign Insider Training: Interactive PDFs

30 video lessons · 12491 viewers

David Blatner


Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.

Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.

Mark all as unwatched Cancel


You have completed InDesign Insider Training: Interactive PDFs.

Return to your organization's learning portal to continue training, or close this page.

Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

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.

Are you sure you want to delete this note?


Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.