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

isHomePage Method

Internet Development Index

Determines whether the specified URL refers to the client's home page.

Syntax

bQueryHome = homePage.isHomePage(sPageURL)

Parameters

sPageURL Required. String爐hat specifies the path and/or file name to compare against a client's specified home page.

Return Value

Boolean. Returns one of the following values:

trueThe client's home page is the same as the provided argument.
falseThe client's home page is different than the provided argument.

Remarks

The isHomePage method returns false if the argument and a user's home page are the same, but the document calling the method is on a different domain than the user's home page.

Example

This example uses the isHomePage method to determine whether a user's home page is the same as the specified URL.

<HTML XMLNS:IE>
<HEAD>
<STYLE>
@media all {
IE\:HOMEPAGE {behavior:url(#default#homepage)}
}
</STYLE>
<SCRIPT>
function fnVerify(){
sQueryHome = oHomePage.isHomePage(oHomeHref.value);
alert(sQueryHome);
event.returnValue = false;
}
</SCRIPT>
</HEAD>
<BODY>
<IE:HOMEPAGE ID="oHomePage" />
<INPUT TYPE=text ID=oHomeHref VALUE="http://www.microsoft.com">
<INPUT TYPE=button VALUE="Verify" onclick="fnVerify()">
</BODY>
</HTML>
This feature requires Microsoft® Internet Explorer 5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

There is no public standard that applies to this method.

Applies To

homePage

See Also

Introduction to DHTML Behaviors
酉阳| 达州市| 南陵县| 安西县| 凤山市| 略阳县| 桐城市| 河源市| 松阳县| 冷水江市| 临武县| 廉江市| 开化县| 西乌| 平凉市| 新昌县| 永登县| 富顺县| 威宁| 青龙| 连山| 南汇区| 威海市| 宁南县| 千阳县| 田东县| 衢州市| 织金县| 龙岩市| 靖安县| 南城县| 称多县| 扶风县| 通河县| 盘山县| 板桥市| 察雅县| 泸定县| 五峰| 安达市| 米泉市|