Linking files and documents You can use the Property inspector and the Point-to-File icon to create links from an image, an object, or text to another document or file. For information about using the site map to create links, see Creating and modifying links in the site map.
To link documents using the Property inspector’s folder icon or link
text box:
Select text or an image in the Document window’s Design view.
Open the Property inspector (Window > Properties), and then do one of the
following:
Note: When you change the path type in the Relative To field, uses your choice as the default path type for any future links until you change the path type again.
Type the path and filename of the document in the Link text box.
To link to a document in your site, enter a document-relative or site root-relative
path. To link to a document outside your site, enter an absolute path including
the protocol (such as http://). You can use this approach to enter a link for
a file that hasn’t been created yet.
From the Target pop-up menu, select a location in which to open the document.
To make the linked document appear somewhere other than in the current window
or frame, select an option from the Target pop-up menu on the Property inspector:
_blank loads the linked document in a new, unnamed browser window.
_parent loads the linked document in the parent frame or parent window of the
frame that contains the link. If the frame containing the link is not nested,
then the linked document loads in the full browser window.
_self loads the linked document in the same frame or window as the link. This
target is the default, so you usually don’t have to specify it.
_top loads the linked document in the full browser window, thereby removing
all frames.
Tip: If all the links on your page will be set to the same target, you can specify
this target once by choosing Insert > Head Tag > Base and selecting the
target information. For information about targeting frames, see Controlling
frame content with links.
To link documents using the Point-to-File icon:
Select text or an image in the Document window’s Design view.
Drag the Point-to-File icon at the right of the Link text box in the Property
inspector and point to another open document, a visible anchor in an open document,
or a document in the Site panel.
The Link text box updates to show the link.
Note: You can link to an open document only if your documents are not maximized in the Document window. When you point to an open document, that document moves to the foreground of your screen while you are making your selection.
Release the mouse button.
To create a link from a selection in an open document:
Select text in the Document window.
Shift-drag from the selection.
The Point-to-File icon appears as you drag.
Point to another open document, a visible anchor in an open document, or a
document in the Site panel.
Note: You can link to an open document only if your documents are not maximized
in the Document window. When you point to an open document, that document moves
to the foreground of your screen while you are making your selection.
Release the mouse button.
To link documents using the site map and the Point-to-File icon:
Expand the Site panel, and then display both the Site Files and the Site Map
views by holding down the Site Map icon and choosing Map and Files.
Select an HTML file in the site map.
The Point-to-File icon appears next to the file.
Drag the Point-to-File icon and point to another file in the site map or to
a local file in the Site Files view.
Release the mouse button.
A hypertext link with the name of the linked file is placed at the bottom of
the selected HTML file. This method works well when you are building your site
and you want to create links across the site quickly.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100