December 18, 2003
Looks like Tripod hasn't fixed the .htc file MIME type on their servers yet. When they do, you'll notice that I'm playing with a feature in Stylesheets and DHTML called DHTML behaviors. It allows you to use CSS to apply scripted actions to a tag, just like you can assign formatting and colors to tags. The reason it doesn't work yet is that the htc MIME type is text/x-component, and Tripod sends the files out as text/html. This breaks the functionality and makes it not work. I'm sure my code works because I've tested it from IIS and it works fine, and I've tested it from my local file system and it works fine there, too.