Posted 31 December 2008 - 07:19 PM
Yes. When you create the link, you just need to go up from the directory that you are in, then drill down to the directory that you want to go. For instance, something like href="../../newFolder/other.html would go up two directory levels, then go into the 'newFolder' directory, then load 'other.html'. Depending on the server software that you are using, the directory structure that you are using, etc., the number of levels that you may have to go up may vary. For instance, if I am running XAMPP, my html files will be contained within a folder under wampp/htdocs/someProject, so I would have to go up 3 levels to get to the root directory, which would make my path something like href="../../../newFolder/other.html, assuming that 'newFolder' was contained within my c drive.
Alternatively, I think you could use href="file:///C|\newFolder\other.html. This should allow you to use files from other drives if necessary. I can't say for sure because the better practice is to keep the necessary files in a central place. I do realize that there are instances in production where files may be scattered though.