Using Absolute Link Paths - Adobe GOLIVE CS2 User Manual

Hide thumbs Also See for GOLIVE CS2:
Table of Contents

Advertisement

Using absolute link paths

About absolute link paths
Site pages contain paths to a variety of linked files: other pages in the site, images displayed on the page, media items
embedded in the page, and so on. GoLive automatically uses relative paths—paths that point to the location of a file
in relation to the current file—for the destinations of links. In most cases, relative paths are appropriate to use. But,
if necessary for special cases, you can selectively change the paths to make them absolute, or set a preference to have
GoLive make all new paths you create absolute by default. When you make a path absolute, the entire path from the
root folder to the linked file is provided. Otherwise only a relative path is provided.
For example, the page /root/pages/info/page.html (where root is the name of the root folder) references the image
/root/images/image.gif. The absolute path to the image file is /images/image.gif. The relative path is
../../images/image.gif.
Absolute paths are useful in the following cases:
If a form references a CGI script at the root level of the site directory (or any other subdirectory), any references
to that file are usually written as absolute.
If a common navigation bar is used on many pages that reside in folders at various hierarchical levels, you can use
an absolute path specification throughout to reference its image files, allowing you to copy and paste the same code
snippet onto all the pages.
However, absolute paths work only at sites where there is a web server providing information about the location of
the site's root folder. For the same reason, using absolute paths prevents you from previewing pages in a web browser
on your local computer—that is, a previewing browser has no way of locating this root folder.
Note: An absolute path in GoLive is not a full path from the file system root or a fully qualified URL.
See also
"To make the path of a link absolute" on page 213
"To set a preference that makes all new links absolute" on page 214
"To specify a site setting that makes all new links absolute in the active site only" on page 214
To make the path of a link absolute
You can specify absolute paths for all new links or for specific links.
1
Select the link.
Do one of the following:
2
Choose Relative from the URL menu to the right of the Browse button in the Inspector, if it is checked. (Unchecked
indicates the link is absolute.)
Choose Edit from the URL menu in the Inspector. In the Edit URL dialog box, click Make Absolute, and then
click OK.
You can also use the Edit URL dialog box to add query parameters to the URL.
ADOBE GOLIVE CS2
213
User Guide

Advertisement

Table of Contents
loading

Table of Contents