W3C home > Mailing lists > Public > public-mobileok-checker@w3.org > March 2009

Re: Subtests that apply to HTTP header fields [was: Re: mobileOK validation logic - jar file?]

From: findyourfate.com <analyst@findyourfate.com>
Date: Sun, 15 Mar 2009 09:42:48 +0530
Message-ID: <001301c9a524$4ea965e0$57faff7b@system1>
To: <public-mobileok-checker@w3.org>
Hi

I have included the mobile validator code as below

<script> 
var isCE = navigator.appVersion.indexOf("Windows CE")>0; 
if (isCE) 
{ 
 window.location.href="http://www.findyourfate.com/mobile/home.html"; 
} 
</script>

if its not a mobile user then the system loads the home page www.findyourfate.com

can you suggest any other simple code, as I see in certain cases this doesnt work.

Regards
stanley
Received on Monday, 16 March 2009 12:53:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 March 2009 12:53:32 GMT