Introduction to hyperlinks
What are hyperlinks?
Hyperlinks (or links) are identical to the hyperlinks found on Web pages in that they are special (usually underlined) parts of a text, which when clicked enable you to open a Website, another text, another window or file. TreePad supports a multitute of hyperlink types. E.g. internal hyperlinks enable you to jump from one article to another without having to navigate the Tree pane, simply by single-clicking or double-clicking the link (depending on how you have set up your hyperlink options).
Unlike Web (HTML) pages, which cannot be edited directly, you can create a hyperlink in an article, follow it to its destination and edit the new article without leaving edit mode. This is a very powerful feature of TreePad.
Types of hyperlinks
Hyperlinks can be classified in two different ways; by the way they appear and behave in text, which we will term hyperlink styles, and by the type of destination to which they lead, which we will term hyperlink targets.
Plain text hyperlinks are not underlined, and consist only of the URL (link address, link target). Underlined hyperlinks look like the links you can see in your Webbrowser, and the visible text of the hyperlink (link title) can be different from the URL (link target).
Example of a plain text hyperlink:
Example of an underlined hyperlink which points to the TreePad.com Website:
Example of an image hyperlink which points to the TreePad.com Website:
A plain text hyperlink can be activated by selecting it, then 'ctrl H' or menu⁄navigate⁄follow hyperlink.
An underlined hyperlink (and an image hyperlink) can be activated by double clicking on it (default) or single-clicking on it (if so set in the options screen).
Opening the Insert Hyperlink window and clicking the combo Link type will allow you to choose one of these destinations (targets) to which to create your hyperlink:
||To another node within the same TreePad file
||To another file, directory (Windows folder) or application4
||To a web site using the HTTP or HTTPS (secure) protocol1 and the default browser.
||To an e-mail server
||To a Usenet (newsgroup) server
||To a web site using the FTP protocol and the default browser
||To any telephone number (TreePad Business Edition only)1
||To an anchor (marked location) inside the current article
||A link containing a Windows command (e.g. iexplore -k www.treepad.com)
||To any other type of target2 not mentioned above
||To a node inside another TreePad file
TreePad automatically uses any software applications you have set up in Windows to handle specific types of hyperlinks (termed active hyperlinks). E.g., clicking on a hyperlink to
- a Web site calls up your default Web browser;
- an e-mail address calls up your default E-mail client program;
- a telephone number autodials the number for you.
- Links of type PHONE (auto-dial) are unique to TreePad Business Edition
- Links to rare protocols (not explicitly mentioned above) can be created by choosing User defined in the link type combo box in the 'Insert hyperlink' dialog. After that, one can type the full URL including the protocol prefix into the 'link address' field, e.g. securelogin.mysecureserver.com
- See also active fields.
- Why not use TreePad to launch other programs for you? See Using TreePad to launch programs. Note also that if the file is a TreePad file, you can select whether or not it should open in the same or a new instance of TreePad. See Opening a file in a new instance of TreePad.