American Audio DCD-PRO240 Manuel d'utilisateur Page 113

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 250
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 112
Hyperlinks and Anchors
Your content may be top notch but it’s of no benefit if visitors can’t navigate through your site. It is essential that you consider
navigation as an important part of the planning of your site.
To allow the visitor to navigate your site, you must define hypertext links (hyperlinks). A hyperlink can be applied to a selected run of
text or to any box you have drawn in Freeway, with the exception of HTML text boxes.
When creating navigation, you can set up links either between pages in the same document or to external pages and other objects
anywhere on the web, using hyperlinks defined within Freeway. You can also define the browser window in which your linked file will
open.
There are many types of hyperlinks and this chapter will introduce you to all of them. The most important ones to begin with are the
links that you create between pages in your document.
Note: If you want to set up a full-featured navigation bar for your site you might want
to look into using the
CSS Menus Action. This Action makes it very quick and simple to
build a drop-down-and-fly-out navigation bar you can use on all your pages to help visitors
find their way around the pages of your site—even if you have some pages used as sub-pages
of different sections of your site. You can read more about how to build a CSS Menu in the
dedicated section at the end of this chapter
Linking between pages in your document
Prior to laying out your pages, you should define the structure of your site; that is, what pages should be linked and how you want users
to be able to navigate. Defining site navigation often starts when creating the basic layout of your web pages. To ensure that navigation
is consistent and easy is one of the main tasks carried out when defining master Pages.
Actually, creating the links to other pages can be done at any stage during the design process. If the destination page already exists in
the document when you wish to link to it, you can simply choose it by name from the list of existing pages. If the destination page
does not yet exist, you can create it as you define the hyperlink. This is called linking to a new page.
When defining a link to a page in the same Freeway document (referred to as an internal link), it does not matter what the title of
the destination page is, or what the filename of the destination page will be. In Freeway, pages in the same document are internally
referenced as objects, and internal links are defined as being links to a page object whose title and filename may change before the
site is exported. This provides you with a considerable amount of freedom and flexibility in the way you create your site, as you can
continue to change the page titles and/or filenames right up until the site is published, without fear of breaking the links you have
carefully defined.
When the pages are published as HTML, the internal links are converted to explicit references to the actual page filenames as shown in the
Inspector palette.
Linking to external pages
Sometimes you need to define a link to a page that is not part of the same Freeway document. When you do this, you must type or
copy/paste a reference to that page into the Edit Hyperlink dialog yourself. To do this, you can either refer to the external page with an
absolute reference, using its complete URL (Uniform Resource Locator), or with a relative reference, if the destination page is on the same
web site as the source page.
When entering external references, you must take care that the spelling and case used for external filenames is exactly the same.
Absolute references
If you use an absolute reference, this specifies which web server the destination page resides on, the exact path to it, and its filename. If
you are linking to a page that is held on a different web server to the one your source page is on, you must use the absolute reference,
specifying the complete URL. Here is an example of such a URL:
http://www.robotsfrommars.com/my_folder/page1.html
This URL describes a page called page1.html, contained in the directory my_folder, on the web server www.robotsfrommars.com. No matter
where the source page is located on the web, this link will always succeed if the destination page remains in the same location.
Relative references
If you use a relative reference, then there is no mention of the specific server the destination page is on, and the link will assume that
the source page and the destination page are on the same server. This method is of great advantage if you wish to have the flexibility to
move the pages to a different location, without having to change the links.
For example, if a customer has commissioned some pages and you wish to test them on your own server before giving them to the
customer to put on their own web site, it may well be best to use relative references. Remember that this only applies if the source and
destination pages are not part of the same Freeway document.
Vue de la page 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 249 250

Commentaires sur ces manuels

Pas de commentaire