You can create hyperlinks so that when you export to Adobe PDF or SWF in InDesign, a viewer can click a link to jump to other locations in the same document, to other documents, or to websites. Hyperlinks you export to PDF or SWF in InCopy are not active.
A source is hyperlinked text, a hyperlinked text frame, or a hyperlinked graphics frame. A destination is the URL, file, email address, page text anchor, or shared destination to which a hyperlink jumps. A source can jump to only one destination, but any number of sources can jump to the same destination.
If you want the source text to be generated from the destination text, insert a cross-reference instead of adding a hyperlink. See Cross-references.
A. List of hyperlinks in the current document B. Traffic light indicators for instant feedback on URL availability C. Email link D. Clickable page number takes you to the page where the link is and selects the link
You can create hyperlinks to pages, URLs, text anchors, email addresses, and files. If you create a hyperlink to a page or text anchor in a different document, make sure that the exported files appear in the same folder.
To show or hide hyperlinks, choose View > Extras > Show Hyperlinks or Hide Hyperlinks.
Hyperlinks are included in exported Adobe PDF files if Hyperlinks is selected in the Export Adobe PDF dialog box in InDesign. Hyperlinks are included in the exported SWF file if Include Hyperlinks is selected in the Export SWF dialog box.
You can use several different methods to create hyperlinks to URLs. When you specify a URL, you can use any valid Internet resource protocol: http://, file://, ftp://, or mailto://.
You can also use the Buttons feature to link to web pages. (See Buttons.)
In InDesign, hyperlinks are automatically formatted with the Hyperlink style - underline blue text.
If a URL hyperlink isn’t working in the exported PDF, there may be a problem with the hyperlink being a “Shared Destination”. Deselect the Shared Hyperlink Destination checkbox, and then click OK.
When you create a hyperlink to a file, clicking the hyperlink in the exported PDF or SWF file opens the file in its native application, such as Microsoft Word for .doc files.
Make sure the file you specify is available to anyone opening the PDF or SWF file you export. For example, if you’re sending the exported PDF to a coworker, specify a file located on a shared server rather than your hard drive.
You can create a hyperlink to a page without first creating a destination. However, by creating a page destination, you can specify a page number and view setting.
Select Fixed to display the magnification level and page position that were in effect when you created the link.
Select Fit View to display the visible portion of the current page as the destination.
Select Fit In Window to display the current page in the destination window.
Select Fit Width or Fit Height to display the width or height of the current page in the destination window.
Select Fit Visible to display the page so that its text and graphics fit the width of the window, which usually means that the margins are not displayed.
Select Inherit Zoom to display the destination window at the magnification level the reader uses when the hyperlink is clicked.
Creating a hyperlink destination is necessary only if you’re creating a hyperlink or cross-reference to a text anchor. A text anchor can point to a selection of text or to the insertion point location. Then you create the hyperlink or cross-reference that points to the hyperlink destination. You can also create hyperlink destinations for pages and URLs, but a destination isn’t necessary for those links.
Hyperlink destinations you create do not appear in the Hyperlinks panel; they appear in the dialog box that appears when you’re creating or editing hyperlinks.
Choose Text Anchor in the Type menu. Specify a name for the text anchor.
Choose Page in the Type menu. Specify the page number you want to jump to and the Zoom Setting. Type a name for the page, or select Name With Page Number to name the destination automatically based on the page number and zoom setting you specify.
Choose URL in the Type menu. Type or paste a URL, such as http://www.adobe.com. You can use any valid Internet resource protocol: http://, file://, ftp://, or mailto://.
While creating a hyperlink, if you choose Shared Destination from the Link To menu, you can specify any named destination. A destination is named when you add a URL using the URL text box or when you select Shared Hyperlink Destination while creating a hyperlink to a URL, file, or email address.
The options determine the appearance of the hyperlink or cross-reference source in the exported PDF or SWF file. These appearance options are also displayed in the InDesign document if you choose View > Extras > Show Hyperlinks.
Choose a character style to apply to the hyperlink source. By default, InDesign applies the Hyperlink style to the selected text or object. For text, you can easily select a different style from the Style drop-down in the New Hyperlink dialog box. For a non-text object, InDesign applies a design time visual identifier to the links – a dotted line around the object with the color inherited from layer color.
Select Invert, Outline, Inset, or None. These options determine the appearance of the hyperlink when it’s being clicked in the PDF or SWF file.
You can find and convert URLs (such as “www.adobe.com”) in your document and convert them to hyperlinks.
Use the Hyperlinks panel to edit, delete, reset, or locate hyperlinks. In InCopy, you can manage hyperlinks only if the story is checked out for editing.
To edit a hyperlink to a URL, select the hyperlink, edit the URL in the URL text box, and then press Tab or Enter.
- To locate the source of a hyperlink or cross-reference, select the item you want to locate in the Hyperlinks panel. Choose Go To Source in the Hyperlinks panel menu. The text or frame will be selected.
- To locate the destination of a hyperlink or cross-reference, select the item you want to locate in the Hyperlinks panel. Choose Go To Destination in the Hyperlinks panel menu.
If the item is a URL destination, InDesign starts or switches to your web browser to display the destination. If the item is a text anchor or page destination, InDesign jumps to that location.
When a Microsoft Word document with hyperlinks is imported into an InDesign document, you may notice a box or border around the hyperlink URLs (such as www.adobe.com). The InDesign document inherits a blue swatch called Word_R0_G0_B255. The document also inherits a character style called “Hyperlink” that underlines the text and applies the blue color.
To remove the box, in the Hyperlinks panel, double-click the hyperlink. Under Appearance, choose Invisible Rectangle from the Type menu, and click OK.
You may also want to delete the imported swatch. While doing so, you can replace it with a different swatch. See Delete individual swatches.
Before you place the Word document in InDesign, you may want to remove the hyperlinks from the URLs in the Word document to avoid inheriting this formatting. See your Word documentation. Another option is to create a character style named “Hyperlink” in the InDesign document before you import. When you import the Word document, the InDesign style that has the same name is used by default.