How the script works

The computer script that runs the AML site treats each webpage like a puzzle, joining three files to one another and presenting them as if they were a single page:

divisions

The graphic reveals the normally invisible borders of a simple table structure that contains the website: two rows, the bottom row divided into two cells.

  1. The top row, in pink, contains a file called "top_table.html". The script always includes it, for obvious reasons.
  2. The blue cell holds a menu. The AML website uses several menus, one for every section of the website. Each menu is saved in a file with a name that starts with the prefix "menu_". For instance, all the different pages in the "About Us" section (Mission, History, etc.) use the same single menu file, called "menu_aboutus.html".
  3. The green cell holds the article of interest, such as "about_us.html".

To sum up, whether you're tagging a new article or adding a new article's title to a menu, remember that the file you're working on is just one fragment of a complete html file pieced together on the computer hosting the AML website. Be sure to remove the red tags mentioned above.

How you control which files display

Every time a visitor to the website clicks on a link, the link itself tells the script what fragments to use: the link contains both the name of the menu to show, and the name of the article to show. Click here to learn how to write links.