Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Publisher / Web Design / October 2004

Tip: Looking for answers? Try searching our database.

Hyperlinks in a webpage on the D: drive

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MDA - 28 Oct 2004 00:37 GMT
I have published a website to run on a CD. I then saved the website on a CD
with other folders There are links in the website that point to files located
within other folders on the CD.

Example:

href="file:///D:\layouts\5_1-2-2compHP.xls"

The problem I am encountering is that some of the people whom I have
distributed the CD to cannot access the hyperlinked files as written above
because their computers' CD drive is not the (D:) drive.... it varies, i.e
(F:) drive, or (E:) Drive.

How can I script the "href=" to point to the file on the CD regardles of
what the CD drive is named?

Signature

My name is Miles and I approved this message!

David Bartosik - 28 Oct 2004 14:41 GMT
You have absolute links instead of relative. All links should be relative and
will correct your issue. Publisher should always write relative links, if it
is writing them as absolute then I suspect you are using a Master Page in the
web publication. Remove the Master Page and resave the pub file as a web.

David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com

> I have published a website to run on a CD. I then saved the website on a CD
> with other folders There are links in the website that point to files located
[quoted text clipped - 11 lines]
> How can I script the "href=" to point to the file on the CD regardles of
> what the CD drive is named?
MDA - 29 Oct 2004 00:10 GMT
Dave,

You have helped me from the beginning, and I truly value your insight. But I
don't understand. I checked to see I f I had a MASTER PAGE by going to "View"
then "Master Page".... all that came up was a blank white page. So I gues I
don't have a MASTER PAGE.

I have tried pointing the hyper link to the file, but when I burn the
index.htm, index_files folder, layouts folder to the CD, the hyper link wants
to look for the file on my (C): drive. Here is an exampleof the hyper link
path:

C:\Documents and Settings\Donna Ree\My Documents\Miles'
Stuff\Lorillard\Planogram Website\Layouts\1_cube.xls

Any ideas?

> You have absolute links instead of relative. All links should be relative and
> will correct your issue. Publisher should always write relative links, if it
[quoted text clipped - 20 lines]
> > How can I script the "href=" to point to the file on the CD regardles of
> > what the CD drive is named?
MDA - 29 Oct 2004 00:45 GMT
I think I have it figured out with the following code:

href="../layouts/5_1-2-2compHP.xls"

> I have published a website to run on a CD. I then saved the website on a CD
> with other folders There are links in the website that point to files located
[quoted text clipped - 11 lines]
> How can I script the "href=" to point to the file on the CD regardles of
> what the CD drive is named?

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.