Reply to Re: single dot prefix for hyperlinks

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация