On 14 Oct 98, Barry Lee Brisco wrote:
> 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.
Yeah, paths can drive me bonkers sometimes too. I just seem to tune out
in situations when I have to deal with them in any depth...
But: I was of the impression that a partial path such as /images/thingy.gif
would shoot you back to the root directory, where one would hope to find
a directory called 'images'. Works that way on my Unix server anyway.
Here's an example. I have a directory I'm using at the moment that's down
pretty deep:
http://www.almonte.com/sosb/en/systems/help/abe/manuals/
I have a directory 'images' below /manuals/, and if I want to reference a
graphic in 'images' from a page in /manuals/, either of these will work:
<img src = "images/thingy.gif"> OR <img src = "./images/thingy.gif">
However, <img src = "/images/thingy.gif"> will jump all the way back to
http://www.almonte.com/images/, assuming such a directory exists.
Dunno if this is SOP for Unix or not. No doubt others more knowledgable
than me will set the record straight.
-----------
Brent Eades, Almonte, Ontario
E-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]
Town of Almonte site: http://www.almonte.com/
Business site: http://www.federalweb.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.
---------------------------------------------------------------------