| | |
|
|
|
Re: DW keep's linking hyperlink with current dir.... |
| message from Murray *TMM* on 22 Jul 2004 |
You mean the file:/// links?
Try this -
1. Create a new page in DW after selecting *any* site you have defined.
2. Insert an image from within that site into the page.
3. Look at the code (before saving the page) and you will see a link that
points to the file on your hard drive. This is because DW doesn't know
where you are going to save that file yet, hence it cannot write the link as
it will be in the final page.
4. Save the page within the site you are using currently and look at the
code again. Note that the link style has changed now that DW knows where
the page is to be located within the site.
5. Now, save the page *outside* the defined site (you can use the global
icons at the top of your site list to do this), and look at the code again.
Note that the link has reverted to the original form (and will therefore be
broken when you upload the file) because DW cannot track that image file as
a function of the root of the site anymore (not knowing where the root is in
relation to where you have now saved the page).
See how that works?
|
|
Archived message: Re: DW keep's linking hyperlink with current dir.... (Macromedia Dreamweaver)