K
kcn
FP2002 is misdirecting hyperlinks that I (think) I'm entering accurately.
I'd appreciate any insight as to what might be mis-firing here. The
problem is that I'm directing the link to a file in another directory and
the hyperlink (or picture properties) is retaining the current directory
name in its path ... and just adding the other directory onto the end.
SAMPLE CONFIGURATION:
For instance ...imagine this set-up:
WEB-2
.........index.htm
.........\EXAMPLES
...................\Gary_help.htm
.........\PICTURES
...................\baby.jpg
.........\MOVIES
...................\shortmovie.wmv
EXAMPLE:
On WEB-2 / EXAMPLES / Gary_help.htm I link to the picture baby.jpg, which is
located in another directory (PICTURES).
The link is called from............WEB-2 / EXAMPLES / Gary_help.htm
and should go to....................WEB-2 / PICTURES / baby.jpg
but instead it points to...........WEB-2 / EXAMPLES / PICTURES / baby.jpg
Of course the target can't be found ... there IS NO subdirectory PICTURES
under EXAMPLES!
This happens whether it's a hyperlink (to a .wmv, for example) or to an
inserted picture (linking nowhere).
ATTEMPT TO CORRECT:
In one attempt at correcting this, I moved all links out of a sub-directory
and put them on the same level as the file calling the links. But it still
doesn't work. In this instance, it doesn't tack another directory onto the
end of its path, but I get the "page cannot be displayed" or "server cannot
be found" for .wmv's, etc.
WHAT'S DIFFERENT NOW:
I've never had this problem before, and the only thing that's different is:
This problem occurs on WEB-2, which is mapped to a subdirectory of WEB-1.
Thus, the two domains are:
WEB-1.com = /usr/www/users/johndoe/WEB-1
WEB-2.com = /usr/www/users/johndoe/WEB-2
SET-UP ON COMPUTER:
Here's how the web is set up on my computer:
C:\Documents and Settings\johndoe\My Documents\My Webs\WEB-2
.............................................................................
....................\WEB-2\index.htm
.............................................................................
....................\WEB-2\shortmovie.wmv
.............................................................................
....................\WEB-2\baby.jpg
SET UP ON HOST:
/usr/www/users/johndoe/WEB-2
...................................../WEB-2/index.htm
..................................../WEB-2/shortmovie.wmv
.................................../WEB-2/baby.jpg
WHAT I DO TO CREATE THIS HYPERFINK:
· Highlight the text I want to become a hyperlink
· Right click
· Hyperlink. [Insert Hyperlink screen appears]
· The selections on the Insert Hyperlink screen are:
· Link to: Existing File or WebPage
· Text to display: ShortMovie..................... which appears
on the webpage as the title
of the movie.
· Look in: Current Folder................. which makes
the "Look in:" box appear:
· Look in: WEB-2...........................
Subdirectory under C:\Documents and
Settings\johndoe\My Documents\My
Webs
· Address: shortmovie.wmv...............which is the
name of the .wmv file on my
Computer
· I save the file
· Preview in browser = perfect. (Although, granted, the URL shown
is C:\Documents.. rather than an actual www URL).
· I publish the files with FrontPage, sending both index.htm and
shortmovie.wmv (and everything else in between).
· I delete all cookies, all temporary files, all history. I open a
new browser, refresh my screen, and . the link is dead, leading to a "Cannot
connect to server" message.
· I right click on the link, and choose "Copy shortcut."
SHORTCUT READS:
· I paste the shortcut in Notebook, and it reads:
http://www.WEB-2.com/shortmovie.wmv (if it's on the
same directory) - or -
http://www.WEB-2.com/examples/pictures/shortmovie.wmv (if it's in another
directory)
SOURCE FILE READS:
· I view the source on-line, and it reads: <a
href="shortmovie.wmv"> (same directory) -and/or-
src="examples/co_Jenn_holds_AJ.gif" (which is
actually where it is, but it won't show up!) -or-
http://www.WEB-2.com/examples/pictures/baby.jpg
(when called from 'examples' directory and should point to
WEB-2.com/pictures/baby.jpg
THANKS!
Thanks so much. Sorry for the length. I type rapidisimo..
I'd appreciate any insight as to what might be mis-firing here. The
problem is that I'm directing the link to a file in another directory and
the hyperlink (or picture properties) is retaining the current directory
name in its path ... and just adding the other directory onto the end.
SAMPLE CONFIGURATION:
For instance ...imagine this set-up:
WEB-2
.........index.htm
.........\EXAMPLES
...................\Gary_help.htm
.........\PICTURES
...................\baby.jpg
.........\MOVIES
...................\shortmovie.wmv
EXAMPLE:
On WEB-2 / EXAMPLES / Gary_help.htm I link to the picture baby.jpg, which is
located in another directory (PICTURES).
The link is called from............WEB-2 / EXAMPLES / Gary_help.htm
and should go to....................WEB-2 / PICTURES / baby.jpg
but instead it points to...........WEB-2 / EXAMPLES / PICTURES / baby.jpg
Of course the target can't be found ... there IS NO subdirectory PICTURES
under EXAMPLES!
This happens whether it's a hyperlink (to a .wmv, for example) or to an
inserted picture (linking nowhere).
ATTEMPT TO CORRECT:
In one attempt at correcting this, I moved all links out of a sub-directory
and put them on the same level as the file calling the links. But it still
doesn't work. In this instance, it doesn't tack another directory onto the
end of its path, but I get the "page cannot be displayed" or "server cannot
be found" for .wmv's, etc.
WHAT'S DIFFERENT NOW:
I've never had this problem before, and the only thing that's different is:
This problem occurs on WEB-2, which is mapped to a subdirectory of WEB-1.
Thus, the two domains are:
WEB-1.com = /usr/www/users/johndoe/WEB-1
WEB-2.com = /usr/www/users/johndoe/WEB-2
SET-UP ON COMPUTER:
Here's how the web is set up on my computer:
C:\Documents and Settings\johndoe\My Documents\My Webs\WEB-2
.............................................................................
....................\WEB-2\index.htm
.............................................................................
....................\WEB-2\shortmovie.wmv
.............................................................................
....................\WEB-2\baby.jpg
SET UP ON HOST:
/usr/www/users/johndoe/WEB-2
...................................../WEB-2/index.htm
..................................../WEB-2/shortmovie.wmv
.................................../WEB-2/baby.jpg
WHAT I DO TO CREATE THIS HYPERFINK:
· Highlight the text I want to become a hyperlink
· Right click
· Hyperlink. [Insert Hyperlink screen appears]
· The selections on the Insert Hyperlink screen are:
· Link to: Existing File or WebPage
· Text to display: ShortMovie..................... which appears
on the webpage as the title
of the movie.
· Look in: Current Folder................. which makes
the "Look in:" box appear:
· Look in: WEB-2...........................
Subdirectory under C:\Documents and
Settings\johndoe\My Documents\My
Webs
· Address: shortmovie.wmv...............which is the
name of the .wmv file on my
Computer
· I save the file
· Preview in browser = perfect. (Although, granted, the URL shown
is C:\Documents.. rather than an actual www URL).
· I publish the files with FrontPage, sending both index.htm and
shortmovie.wmv (and everything else in between).
· I delete all cookies, all temporary files, all history. I open a
new browser, refresh my screen, and . the link is dead, leading to a "Cannot
connect to server" message.
· I right click on the link, and choose "Copy shortcut."
SHORTCUT READS:
· I paste the shortcut in Notebook, and it reads:
http://www.WEB-2.com/shortmovie.wmv (if it's on the
same directory) - or -
http://www.WEB-2.com/examples/pictures/shortmovie.wmv (if it's in another
directory)
SOURCE FILE READS:
· I view the source on-line, and it reads: <a
href="shortmovie.wmv"> (same directory) -and/or-
src="examples/co_Jenn_holds_AJ.gif" (which is
actually where it is, but it won't show up!) -or-
http://www.WEB-2.com/examples/pictures/baby.jpg
(when called from 'examples' directory and should point to
WEB-2.com/pictures/baby.jpg
THANKS!
Thanks so much. Sorry for the length. I type rapidisimo..