Hi Peter, Just for your reference - the mime type is typically something that is set on the server configuration not the javascript or jscript files. It's typically an IIS or apache setting.
It is however possible to change the mime-type on an as needs basis using server side languages - eg cfm file using cfcontent, and similar constructs in php or asp. That said - better to stick with the suckerfish menus as they are nice and robust. Cheers, Mark On Sat, 6 Nov 2004 15:10:18 +1000, Peter Mount <[EMAIL PROTECTED]> wrote: > > Hi. > > I fixed my problem. I stopped using this menu that uses the csshover.htc > file. I'm using the "Sons of Suckerfish" dropdown menu (from html dog) > instead. > > Have fun > > > > Peter Mount > [EMAIL PROTECTED] > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Peter > Mount > Sent: Thursday, 4 November 2004 23:18 > To: CFAussie Mailing List > Subject: [cfaussie] using .htc file with ColdFusion MX6.1 > > Hello > > I'm trying to use a jscript file called csshover.htc to get a css dropdown > menu to work in Internet Explorer. I read on the author's web site > (http://www.xs4all.nl/~peterned/csshover.html#changes) that to get it to > work on a non windows server (in this case ColdFusion MX 6.1, on Windows) > I'd have to change the mime type of the file to "text/x-component". > > I've learned JavaScript but I haven't learned jscript so I don't know to > change the mime type in the csshover.htc file. I'm using "<cfcontent > type="text/html; charset=utf-8">" as the first line in the cfm file that > cfincludes the menu file. I was able to get the menu to work with the htc > file OK in a PHP site using xhtml strict. I just need help with getting it > to work with ColdFusion. > > Thanks > > Peter Mount > [EMAIL PROTECTED] > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > > > To unsubscribe send a blank email to > [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > -- www.lynchconsulting.com.au --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
