On Apr 13, 2005, at 4:35 AM, [EMAIL PROTECTED] wrote:
If i want to link this new index page from my home page(www.caughtinmotion.com) would i just make a href link that follows the folders then.
Yes.
When i log on to my FTP there is the main caughtinmotion folder that i open and have just been loading up pictures,changing indexs pages to new names type of thing. If i open a folder,say PAECAprilShow, for example,then put all the files in that,do i do the href link as: href"caughtinmotion/PAECAprilShow" and that will direct the person to the home page of the new pictures.??
Presuming that the web server is set up to auto-load the "index.html" file as a default, yes. Otherwise, you need to fully specify the URL ... "caughtinmotion/PAECAprilShow/index.html". Most web servers are setup to support the default "index.html" as autoload, some take the .htm extension, so I duplicate my index.html files and rename the duplicate "index.htm".
I cannot try it here at work as i don't have an FTP access set up.
You can test the structure and the links on a local file system with a browser:
Create a folder A for the main index.html page. Create a subfolder B for the specific event index.html pages.
In your main index.html, you want to point a link to the subfolder pages:
<a href="b/index.html">horsey event today</a>
In your horsey event index.html, you want to point a link back to the main:
<a href="../index.html">main page</a>
I have 5 years of PAW projects organized this way:
---
photo/
PAW1/
index.html (PAW index page)
xx.htm (individual week pages)
large/ (image files)
cc/ (control image files)
PAW2/
...
PAW3/
...
PAW4/
...
PAW5/
...
---My welcome page points to each of the index pages:
<A HREF="photo/PAW1/index.html">PAW Index 2001</A>
and each of the indicies and week pages contains a link back to the welcome page:
<A HREF="../../welcome.html#PAWhome">[graphic]</A>
This kind of directory structure keeps the website modular and easy to maintain. It also keeps the number of files per directory to a reasonable number, speeding up file system operations. All the other bits I post are organized this way too, as complete subdirectories, which makes them easy to plug in or remove: one quick edit of the main page is all that's required.
Godfrey

