Click to return to the DHTML, HTML     
pixelWidth Property     PLUGINSPAGE Attribute | p...     DHTML Properties    
Web Workshop  |  DHTML, HTML & CSS

platform Property


Retrieves the name of the user's operating system.

Syntax

HTMLN/A
Scripting[ sPlatform = ] navigator.platform

Possible Values

sPlatform String that specifies one of the following values:
HP-UXHP Unix-based machines.
MacPPCMacintosh PowerPC-based machines.
Mac68KMacintosh 68K-based machines.
SunOSSolaris-based machines.
Win32Windows 32-bit platform.
Win16Windows 16-bit platform.
WinCEWindows CE platform.

The property is read-only with no default value.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:

clientInformation, navigator

See Also

userAgent


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.