最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

compareVersions Method

Internet Development Index

Compares two version numbers.

Syntax

iResult = clientCaps.compareVersions(sVersionNumber1, sVersionNumber2)

Parameters

sVersionNumber1 Required. String爐hat specifies the first of two version numbers to compare.
sVersionNumber2 Required. String爐hat specifies the second of two version numbers to compare.

Return Value

Returns one of the following values:

-1sVersionNumber1 is less than sVersionNumber2
0sVersionNumber1 is equal to sVersionNumber2
1sVersionNumber1 is greater than sVersionNumber2

Example

This example uses the compareVersions method to compare the version of the installed Microsoft virtual machine component with a specified version.

<HTML xmlns:IE >
<HEAD>
<STYLE>
@media all {
IE\:clientCaps {behavior:url(#default#clientcaps)}
}
</STYLE>
</HEAD>
<BODY >
<IE:clientCaps ID="oClientCaps" />
:
<SCRIPT>
sMSvmVersion = oClientCaps.getComponentVersion
("{08B0E5C0-4FCB-11CF-AAA5-00401C608500}","ComponentID");
if (0 == oClientCaps.compareVersions(sMSvmVersion, "5,0,18,1024"))
window.alert ("Versions matched!");
</SCRIPT>
:
</BODY>

Standards Information

There is no public standard that applies to this method.

Applies To

clientCaps

See Also

ClientCaps, Using DHTML Behaviors, getComponentVersion, isComponentInstalled
寻甸| 莆田市| 湟源县| 中方县| 星座| 沂水县| 宁城县| 阳信县| 西吉县| 柘荣县| 启东市| 保康县| 临颍县| 莱芜市| 铅山县| 台湾省| 习水县| 嘉善县| 江华| 清镇市| 廊坊市| 梁山县| 乌兰浩特市| 界首市| 永春县| 鸡东县| 中山市| 建水县| 盱眙县| 老河口市| 元谋县| 永城市| 高安市| 黄浦区| 渭源县| 民和| 盱眙县| 金阳县| 农安县| 将乐县| 二手房|