Changing the link target
Using the Insert⁄edit hyperlink window to change the link target
In this example the focus is on Node A's article, which contains a link to Node B. We will change the target from Node B to Node C. Create a small test file to try this out yourself.
Right-click on the Node B hyperlink, then click Insert⁄edit hyperlink to open the Hyperlink properties window. Make sure NODE is selected as the Link type, then click Find node... to open the Select tree node window.
As we expect, the focus is on Node A, the current node. Click Node C to make it the new target.
At this point we can:
- Make the link text match the new target node title; or
- Make the link text different.
1. Make the link text match the new target node title
The quickest method is to click the OK all screens button at the bottom of the Select tree node screen; this will take you straight back to the article with the link text matching the name of the new target.
An alternative method is to click the OK button instead, which will take you back to the Hyperlink properties window.
Click the OK button at the bottom of this window to return you to the article, with the new link created as in Fig. 4. Although this requires one extra click, taking this route enables you to edit the link text, as we will see next.
2. Make the link text different
If you want to retain the original link text, first save it to the Windows Clipboard using the Copy link text command. From the stage you reached in Fig. 3, click OK to return to the to the Hyperlink properties window as in Fig. 5. Click the Custom link text checkbox to enable the Link text field, and either paste in the original link text (saved as above) by pressing Ctrl+V, or edit the link text to your liking.
When finished, click OK to return to the article.
Similar principles apply to changing the targets of other link types.
- If at the stage of Fig. 6 you uncheck then re-check the Custom link text checkbox, the Link text field will be blank, i.e., any link text you type is not remembered, unfortunately. You will need to type or paste it in again.
- If the original link text is different from the original target node title, on opening the Hyperlink properties window the Link text field will be enabled, displaying the (customized) link text, which will not change if the link target is changed. However, if the original link text matches the original target node title, changing the link target will by default change the link text to match, unless the Custom link text box is checked to allow editing. This avoids the confusing situation where a link named after one node actually points to another.
Handy hint: Here's a quick way to change a link's target node while retaining the original link text but bypassing the Select tree node screen (which in a large tree can require many clicks to reach your target node).
Let's say that in the above tree we created a link in Node A's article to Node B and named it My target. We now wish to re-link to Node C but retain this link text.
Highlight the original link (My target) by dragging the mouse cursor across it, then press Ctrl+X to Cut the link to the Windows Clipboard and clear space for the replacement link.
Right-click the new link and select Insert⁄edit hyperlink to open the Hyperlink properties window. Click the Custom link text box and press Ctrl+V to paste the original link into the Link text field, which should now look similar to this:
Now press the Backspace key until only the original link text remains.
Finally, click OK to save this as the link text for the new link, which points to Node C.