roxen.lists.roxen.general

Subject Author Date
Re: Content Types (the Edit Metadata menu) and .htc files Marc Dirix <marc[at]electronics-design[dot]nl> 26-09-2006
Maybe adding the following to the top of the file does the trick:
<header name="Content-Type" value="text/x-component" />



Op 26-sep-2006, om 21:01 heeft Michael D. Muzzie het volgende  
geschreven:

> On our Roxen 4.5 installation, we need to add an .htc behavior file  
> to unobtrusively add alpha-channel PNG support to Internet Explorer  
> for embedded images.
>
> htc files are required to have a MIME-type of text/x-component (as  
> of Windows XP SP2).
>
> However, we cannot figure out how to configure Roxen so that that a  
> new Content Type/mime-type shows up in the "Type" select menu in  
> the "Metadata" area.
>
> BTW, for the curious, here is some more info on HTCs, and then a  
> link to what we are trying to do.
> For Microsoft Internet Explorer 5 and later, HTML Components (HTCs)  
> provide a mechanism to implement components in script as Dynamic  
> HTML (DHTML) behaviors. An HTC is an HTML file that contains script  
> and a set of HTC-specific elements that define the component; it is  
> saved with an .htc extension
> Improved PNG Behavior
> http://www.scss.com.au/family/andrew/webdesign/pngbehavior/
>
> Michael Muzzie
> Web Developer
> Princeton University
>
>