hi,
navigator.appName and navigator.appVersion may help
but it is always adviceable to check this at server side and then write
appropriate code.
IN ASP, you can get it from
request.servervariables("HTTP_USER_AGENT")
jigs
----- Original Message -----
From: Justin Pease
Newsgroups: javascript
To: javascript
Sent: Thursday, November 23, 2000 6:21 AM
Subject: [javascript] How to detect device being used?
I have been trying to figure out how to include a script in the
beginning of
my index.htm that will check whether a user is using a PC or a
handheld
device and then redirect them to the appropriate version of the site.
Any
ideas? I haven't been able to find any resources on this.
Thanks!
JP