README.site

This is just some site programming notes... The simple idea was to take the current site, and convert it to :-
a. have a left side navigaion menu,
b. to use CSS positioning, in pace of tables, and
c. use DOCTYPE XHTML 1.0
d. pass W3C validation

Since I have the powerful (free) web tool - MS Visual Web Developer 2008 Express Edition (MSVWD) - I did all this in WIN32 (Vista), so take care of the line endings in files. And as well as using the very powerful MSVWD debugger, which runs IE under a debug mode, and allows you to, for example, trace through javascript, I also installed MS Internet Information Services (IIS7) for Windows, and pointed it to the developing site, so I could do immediate checking using IE, and other browsers, on 'localhost'...

See below 'Things To Be Done' for known cavetes ;=))

The first effort was to build two CSS based templates -
1. blank3.html - This is a 3 column format
    Left - Naviagtion menu
    Content - The information
    Right - Snippets
2. blank2.html - This is similar to the above, but without the right side info snippets

To keep the HTML script looking 'neat' I used Tidy (http://sourceforge.net/projects/tidy/), well actually my own slightly modified version of Tidy ;=)) Since the maintainers of Tidy have close ties to the World Wide Web Consortium (W3C), this ensures, about 99.9% of the time, that the page will pass their 'validators', so I have not 'checked' every page yet, using it...

In the main I have MAINTAINED all Google advertising, usually in 3 places
1. Top hozontal sort of 'Google' ad bar
2. Right column, when present, as a vertical bar, and
3. Near the bottom, although in some cases this is at the top.

Concerning urchinTracker(), I initially got some errors from this javascript, so left it out for the present, but it could easily be put back at the bottom of each html file ;=()

I had NOT enabled the 'shtml' extension in my IIS7, so a small number of files were changed from 'shtml' to 'html', since as far as I cold see no 'server' prcessing was required in any of these files.

Navigation Menu

This had to handle pages in subdirectories, and hightlight the current page, so this led to a NEW service in js/template2.js called MainMenu2, with two parameters - 1 - the parent directory, and 2 - the module number per the javascript array.

Then I set about 'converting' all the current pages to this new format, mostly keeping exactly the same content, and google advertisments, although some 'moves' were done.

Page by Page

  1. Home - index.html - This is the main page, took some things from Pete's site, and added slide show - done
  2. Introduction - introduction.html - done
  3. Features - features.html - done
  4. Gallery v2.0 - Gallery-v2.0/index.html - first in a sub-directory. Developed getFooter($pardir) to deal with image locations - done
  5. Announcements - announce.html - done
  6. Calendar - calendar.html - used 2 column, since it was difficult to constrain the Google calendar to the center - done
  7. Events - events.html - done
  8. Get FlightGear - 8

  9. Download Central - Downloads/index.html - done
  10. Binary Programs - Downloads/binary.html - done
  11. More Aircraft - Downloads/aircraft-2.0.0/index.html - changed from shtml to html. A BIG conversion ;=)) And also had to give a name attribute of 'ac_' in 11 cases - ["ac_14bis" "ac_21" "ac_707" "ac_727-230" "ac_737-100" "ac_737-300" "ac_747-200" "ac_747" "ac_747-400" "ac_767-300" "ac_777-200" "ac_787"] so the 'name' attribute could be copied to the 'id=' attribute by Tidy.  - done
  12. World Scenery - Downloads/scenery.html - done
  13. Source Code - Downloads/source.shtml - changed to html - done
  14. DVD set - dvd/index.html  *TBD*
  15. Version Log - version.html  *TBD*
  16. Hardware Req. - hardwarereq.html *TBD*
  17. Support - 17

  18. Manual (html) - Docs/getstart/getstart.html *TBD*
  19. Wiki - link to Main_Page of Wiki - link only
  20. FAQ - Docs/FAQ.shtml *TBD*
  21. Links to Docs - docs.html *TBD*
  22. Lists, Forums, IRC - mail.html *TBD*
  23. Links - 23

  24. Websites - links.html *TBD*
  25. Projects - Projects/index.html *TBD*
  26. Users - 26

  27. Multiplayer - link to http://mpmap02.flightgear.org - link only
  28. Places to Fly - places.html *TBD*
  29. Developers - 29

  30. CVS Resource - cvs.html *TBD*
  31. Source Code - Downloads/source.shtml *TBD*
  32. Goals/Wish list - goals.html *TBD*
  33. Contributors - thanks.shtml *TBD*
  34. Design Proposals - design.html *TBD*

  Files NOT directly from MENU

Downloads/scenery-1.0.1.html - the graphical interface - done
mirrors.html - list of mirrors - done
Just some test pages - testpage.htm - testpage2.htm - testpage3.htm - done

Things To Be Done

And probably many more items that I have not yet thought of, or found ;=))

Further Enhancements

Just some thoughts...

Things to Avoid

This is just my 'personal' preferences...

 

 

Google Advertisements - Click to support FlightGear