Monday, January 24, 2005

Website Update (Warning high Geek Factor)

The most obvious change is that I have added my all-time favorite picture as the background for the site - Please let me know what you think of it.

For all the geeks out there:

I have finally fixed that last nagging problems preventing the site from being XHTML 1.1 Compliant. There were two HTML 4.01 elements that aren't supported in XHTML 1.1:

  1. The <strike> and/or <s> tags
  2. The onerror attribute for the <img> tag

The fix to the <strike> problem was pretty straight forward, I just had to use the <em> tag with the appropriate style attributes.

The fix to the onerror attribute was a little more tricky and required some changes to the JavaScript behind my slideshow images. As a side-effect, I have also fixed the problem where all of the images shared a single index (so if you stopped viewing image set #1 after the third image, the next time you clicked on another image, it would load the fourth image of that series). Please feel free to take a look at the page source to see how I did it, it was really quite simple, but considering my limited Javascript experience, I was pretty happy about the outcome.

Once again, please fell free to share any advice or feedback you might have :)

No comments: