Issues
The stylesheet switching was really very simple. The one obstacle was the navOver() and navOut() functions. The color selection was hard-coded in the functions and now I needed a way to get the background color from the TopWrapper to use for the mouse over. It should have been simple, but you
know that it wasn't, or I wouldn't be writing about it. I suppose that I should not be surprised that there are still discrepancies in the way that different browsers support document objects, properties, attributes and methods. In any case, I tried using
someone else's JavaScript to get style attributes by id. Except that it didn't work with Netscape 7 or Opera. So I had to add support for getComputedStyle to get it to work with NS7. But it still doesn't work with Opera. Going to the Opera web site was a frustrating waste of time. Documentation is still, shall we say, spartan. So I finally got the answer from
Peter-Paul Koch, who has devoted more time than is reasonable to chasing down issues with JavaScript and DOM compatibility. And a good thing I looked there since Opera 7 simply
can't do what I want.