This site was designed as a teaching tool. I found the teaching goes both ways as I wrote it. Foregoing all my favorite hacks for simplicity's sake was like trying to tie my shoes with one hand. Anyway, I hope some students will glean a deeper understanding of web design through my work. This site has a little Javascript and a little CSS, hopefully just enough to make it interesting.
Have fun with it.
Marvin
There are two ways to teach web design. The first is to center the learning around high-level software like Microsoft Publisher. This is fine for cookie-cutter sites which really don't do much. The second way is for commercial sites and it is the hard way. You dive into the source code and force the browsers to do what you want. This is how this web site was designed.
Frames:
Frames are ancient, bad, and needed on this site. Frames allow a splash
of color and link back home even when the person writing the content has
no idea how to do this. I no longer use frames because if you want to
do frames right, they get complex. For example, what if a search engine
hits on a page? You must put in Javascript code so the found page can
re-frame itself.
Javascript:
I tried to keep it as simple as possible. The index page buttons are controlled
with under 15 lines of pretty straight forward code. The contact us page
has a whole bunch of repetition which converts a long string of numbers
into a 'mailto' link.
Cascading Style Sheets:
CSS exists so you can control the appearance of an entire site with just
a few keystrokes from one universal CSS page. So, click here and print
to see what is going on.
Accessibility:
I have tried to avoid tables as much as is possible. The code for tables
does not put data in a logical order. If you have cell phone Internet,
tables will drive you nuts. Also, I have tried to make the text expandable
for the visually impaired. (This is mainly using em units in CSS to work
around an IE6 bug.)
Hacks:
I could have done all sorts of nifty stuff if I had hacked IE6 to fix
some of its bugs. I avoided this because high-school students don't need
to deal with the added complexity.
FYI: Microsoft has waited 4 years to upgrade IE6. This allowed bug fix
hacks to proliferate the Internet. If Microsoft fixes the bugs in a new
browser, the hacks for the old IE6 will cause the new browser to fail.
Interesting dilemma.
Validation:
I rigged a Wizard of Oz method for checking your html. Just click the
header 3 times and off you go to the W3C HTML validator. If the page is
framed, you will go to the validator with the frameset and both pages
all at once! Once you are there, be sure and check the CSS. To validate
the Javascript, you just need to access Tools > Javascript Console
in Firefox.