|
Posted by Jonathan N. Little on 09/21/06 20:27
richard wrote:
>
> "Dave" <david.mh.tong@gmail.com> wrote in message
> news:1158847097.138424.192140@m73g2000cwd.googlegroups.com...
>> Hi,
>>
>> Can anyone tell me the difference between the following where
>> "Test.asp" is found in the same folder as the target page calling the
>> hyperlink "Last Image"?
>>
>> 1. <a href="./Test.csp">Last Image</a>
>> 2. <a href="Test.asp">Last Image</a>
>>
>> Thanks in advance,
>> Dave
>>
>
> Either can be used, but 2 distinctively tells the coding to look in this
> folder.
> As I've always understood it, the / means another folder or directory.
> The dot says, "backup one level then use this directory or folder".
> A leftover shortcut from DOS.
>
Close but not quite:
one dot './' means this folder in DOS
2 dots '../' means backup one level in DOS
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|