The top slash says "go to the top level of this doohickey and look down
from there" where "doohickey" is a domain, virtual or otherwise. These type
of links are usually used on sites where there are lots of subdirectories
and the person who set up the template wanted to use one basic template in
all the subdirectories -- instead of customizing the page that's two levels
down with ../../images, they just used the /images link.
I've never been able to make links that start with / work locally on my PC
(Win98), but have used it on both UNIX and NT servers. I usually do a
"search-n-replace" of /images with ../images when I'm working locally and
need to see the images (like when I'm working with rollovers) -- you just
have to remember to switch it back to /images etc. before FTPing the file
back up.
Hmmm...is anyone on the list running a web server on their local system
(like WebStar for Mac) who knows from experience that /images links work
when your local machine is also a server? I'd be interested in knowing
that....
--Tamra Heathershaw-Hart
(P.S. who's the client, Barry? Anyone interesting? We just got a new client
for maintenance and the folks there are turning out to be really fun to
work with -- www.encommerce.com. Slightly odd table structure for their
site, but I'm learning to make it work.)
At 12:46 PM 10/14/98 -0700, you wrote:
>I have a new web client, I'm taking over running their site, which is only
>a few months old. I'vve just downloaded the html and image files to my
>local drive.
>
>I wasn't expecting any problem, as before bidding on the job I had glanced
>at the source and it looked pretty clean. But now that I've downloaded the
>files to my local drive, I find something very peculiar.
>
>When I open up the homepage on my system, nearly every image is broken.
>Almost all the paths in the code seem wrong to me. That is, the referring
>path defined in the code to the images directory, which is one level below
>the homepage file, is preceded by a slash, like this:
>
>="/images/hbmbackground.gif"
>
> instead of
>
>="images/hbmbackground.gif"
>
> so the image breaks in my browser. But when I view it online, the image is
>displayed. I would greatly appreciate it if someone could explain what is
>going on here: I had always thought that if a path was defined with a / in
>front of the directory and file name, that meant that the directory was
>_above_ the page.
>
>What is odd is that some of the images show up even though their path is
>preceded by a / It even varies depending on whether I view the html file
>on a Mac or a PC.
>
>The situation is the same with the site's internal links to various pages;
>the are all preceded by a / and they don't work locally.
>
>Apparently this is okay on a UNX server? But the client has been editing
>and revising the site locally on PCs, how are they doing that?
>
>Barry
>--
>Barry Lee Brisco <mailto:[EMAIL PROTECTED]>
>Web Design & Development - Online Marketing <http://www.ToTheWeb.com>
>Connecting Businesswomen in Asia <http://www.women-connect-asia.com>
>The Pan-Asian Online Underwater Magazine <http://www.asiandiver.com>
>____________________________________________________________________
>--------------------------------------------------------------------
> Join The Web Consultants Association : Register on our web site Now
>Web Consultants Web Site : http://just4u.com/webconsultants
>If you lose the instructions All subscription/unsubscribing can be done
>directly from our website for all our lists.
>---------------------------------------------------------------------
>
>
------------------------------------------------------------
Hart Consulting http://www.hartcons.com/
Web Design & Engineering Studio Silicon Valley, California
650-967-6162 1-800-749-8032 (fax)
------------------------------------------------------------
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------