I'm trying to code a series of simple webpages for a project I'm working on. Basically, I'm making a series of pages and files to be unzipped onto a person's hard drive, then accessed via links from a base index page. Since the files will be on the person's drive (and not online) I can't make 'absolute' links to anything...it all has to be relative (such as "link to the IMAGE.JPG file in the EXAMPLE subdirectory in the directory this page is in). HTML gurus should know what I mean.
Here's the trouble...I know how to link to a file that's in a subdirectory, by adding the subdirectory to the path to the filename (i.e. SUBDIRECTORY\FILENAME.BLA). However, I don't have a clue how to link to a file that's in a *higher* directory than the current one.
Let's say I have an index page that links to another page in a subdirectory. How can I make a link on that page that links BACK to the index page? I don't know how make the appropriate path, since relative paths can (seemingly) only point to files or subdirectories inside the current directory, NOT anything above it.
Can anyone help me out here?
Here's the trouble...I know how to link to a file that's in a subdirectory, by adding the subdirectory to the path to the filename (i.e. SUBDIRECTORY\FILENAME.BLA). However, I don't have a clue how to link to a file that's in a *higher* directory than the current one.
Let's say I have an index page that links to another page in a subdirectory. How can I make a link on that page that links BACK to the index page? I don't know how make the appropriate path, since relative paths can (seemingly) only point to files or subdirectories inside the current directory, NOT anything above it.
Can anyone help me out here?
