[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: [LUG] Star office - US spell check default,
On Monday 04 December 2000 22:26, you wrote:
> > One last point is it possible to detect which client
> > browser is being used
> The browser name (Whether it's Mozilla or IE) is passed to the web sever,
> so if you got something like PHP or perl available you can look at the
> HTTP_USER_AGENT server variable, which tells you what browser and OS they
> are using as well.
It is also available via Javascript but not all versions of Javascript
support it.
script language="Javascript1.2" type="text/javascript"
var brow=((navigator.appName) +
(parseInt(navigator.appVersion)));
if(parseInt(navigator.appVersion >=5)) {
if(brow == "Microsoft Internet Explorer5") isIE5=1;
else isNew=1;
}
else if(brow == "Netscape4") {isNS4 = 1;}
else if(brow == "Microsoft Internet Explorer4") {isIE4=1;}
/script
How's that?
The full page is at http://www.codehelp.co.uk/css/jquery.html
--
Neil Williams
#-#-#-#-#-#-#-#-#
linux at codehelp.co.uk
linux at neilw2.eurobell.co.uk
www.codehelp.co.uk
--
lug-list - The Mailing List for the Devon & Cornwall LUG
Mail majordomo at lists.termisoc.org with "unsubscribe lug-list" in the
message body to unsubscribe.