American Audio DCD-PRO240 User Manual Page 114

  • Download
  • Add to my manuals
  • Print
  • Page
    / 250
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 113
Freeway Reference: Hyperlinks and Anchors
114
114
Here are three examples of relative references:
1 page2.html
2 marketing/index.html
3 /marketing/index.html
The first example would be used to link to a page with a filename of page2.html which resides in the same folder (“directory”) as the
source page. If you move either the source page or the destination page to a different directory, the link will break.
Example 2 would be used to link to a page with a filename of index.html which resides in a directory called marketing, which in turn
resides in the same directory as the source page. If you move the source page to a different location from the directory marketing, then
the link will break; but you can move both somewhere else together.
The third example would be used to refer to a page with a filename of index.html which resides in a directory called marketing which is
contained in the top level (or “root directory”) of the same web server. You can move the source page anywhere on the web server and
the link will still work, but the link will not work if you move the source page to a different web server or if you move the directory
marketing so that it is no longer in the root directory.
It is also possible to have a relative link which includes references to parent directories. For example, this would be required to establish
a relative link to a resource in another directory at the same level. From a page in a directory called marketing, to a page called sales.html,
in a directory called sales, that resides next to the directory marketing:
../sales/sales.html
Using the double dot (..), it is possible to refer to a higher level directory without specifying its name. In this case, “..” refers to the
directory which contains both the sales and marketing directories—we don’t need to know its name.
../../charts
This refers to a directory called charts, which is one level higher than the sales directory.
For more information about managing links like this, see Managing your site on page 140.
Types of hyperlink
As mentioned before, there is a wide variety of types of hyperlink, and you can specify any of these within Freeway’s Edit Hyperlink
dialog when defining an external link.
Here is a brief description of the different types of hyperlink:
• file: A reference to a file on the local hard disk of the computer which is running the web browser. Use this to specify a local file
when pages are to be viewed locally, not served by a web server.
• ftp: A reference to a file held on an FTP server.
• http: A reference to an HTML page or other object which is held on a web server.
• https: A reference to an HTML page or other object which is held on a secure web server. When a web browser loads a page from a
secure server, the information sent between the browser and the server is encrypted so that third parties cannot intercept or read it.
• mailto: A reference to an email address. When the browser is configured correctly, clicking on a mailto link will automatically launch
the selected email client application on the visitor’s computer and create a new blank email, addressed to the email address specified in
the link.
• news: A reference to a newsgroup stored on an Internet News server. When such a link is activated, the browser will attempt to launch a
news reader and link to the default news server, if one is specified.
Freeway also offers gopher, telnet, tel, and wais hyperlink protocols.
When defining absolute references to external objects served by your web server, you must specify the protocol “http”; however, you
must omit the protocol for relative references.
If you have entered text into the text field, then subsequently specify or change the protocol, Freeway intelligently preserves your text
and prefixes it correctly with the new protocol.
Creating hyperlinks
Within Freeway, hyperlinks may be applied to any run of text (which can be either HTML text or GIF text) or to any box drawn with
Freeway’s drawing tools, except HTML text boxes and form controls.
This section shows you how to:
• Define an internal link to an existing page using the Edit Hyperlink dialog.
• Define an internal link to an existing page using the internal links popup menu.
• Define an external link using the Edit Hyperlink dialog.
• Create a new page as you link to it.
• Drag and Drop hyperlinks into Freeway.
• Remove hyperlinks.
Page view 113
1 2 ... 109 110 111 112 113 114 115 116 117 118 119 ... 249 250

Comments to this Manuals

No comments