Linking - Adobe 38040334 - Dreamweaver CS3 User Manual

Pc
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

When you move files as a group—for example, when you move an entire folder, so that all the files inside that folder
retain the same relative paths to each other—you don't need to update document-relative links between those files.
However, when you move an individual file that contains document-relative links, or an individual file targeted by a
document-relative link, you do need to update those links. (If you move or rename files using the Files panel,
Dreamweaver updates all relevant links automatically.)
See also
"Set the relative path of new links" on page 284
"Set up and edit a local root folder" on page 42
Site root–relative paths
Site root–relative paths describe the path from the site's root folder to a document. You may want to use these paths
if you are working on a large website that uses several servers, or one server that hosts several sites. However, if you
are not familiar with this type of path, you may want to stick to document-relative paths.
A site root–relative path begins with a leading forward slash, which stands for the root folder of the site. For example,
/support/tips.html is a site root–relative path to a file (tips.html) in the support subfolder of the site's root folder.
A site root–relative path is often the best way to specify links if you frequently move HTML files from one folder to
another in your website. When you move a document that contains site root–relative links, you don't need to change
the links; for example, if your HTML files use site root–relative links for dependent files (such as images), then if you
move an HTML file, its dependent-file links are still valid.
However, when you move or rename the documents targeted by site root–relative links, you must update those links,
even if the documents' paths relative to each other haven't changed. For example, if you move a folder, you must
update all site root–relative links to files in that folder. (If you move or rename files using the Files panel,
Dreamweaver updates all relevant links automatically.)
See also
"Set the relative path of new links" on page 284

Linking

Linking files and documents
Before creating a link, make sure you understand how absolute, document-relative, and site root–relative paths work.
You can create several types of links in a document:
A link to another document or to a file, such as a graphic, movie, PDF, or sound file.
A named anchor link, which jumps to a specific location in a document.
An e-mail link, which creates a new blank e-mail message with the recipient's address already filled in.
Null and script links, which you use to attach behaviors to an object or to create a link that executes JavaScript
code.
You can use the Property inspector and the Point-To-File icon to create links from an image, an object, or text to
another document or file.
September 4, 2007
DREAMWEAVER CS3
281
User Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents