Found the magic!

Kind of, but you haven't taken account of multilingual people who are happy to accept both English and French, but would prefer English. These people will not be able to set the language to English.



Here's the final code:
<cfif request.language is "english">
<script type="text/javascript">
{
if(navigator.userLanguage.indexOf("fr")!=-1)
     location.href="http://www.araxi.fr/index.cfm?&language=french";;
}
</script>
</cfif>



-- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
     *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
          *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]



Reply via email to