最新国产好看的视频,伊人天堂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
雷山县| 深州市| 新绛县| 冀州市| 苍梧县| 元谋县| 德钦县| 波密县| 锡林郭勒盟| 从化市| 扶风县| 炉霍县| 葫芦岛市| 乐安县| 枞阳县| 上虞市| 辽阳县| 沙湾县| 日喀则市| 舒兰市| 合山市| 醴陵市| 江达县| 古丈县| 汝城县| 神木县| 临海市| 南部县| 海城市| 麻阳| 漠河县| 东明县| 泸西县| 溧阳市| 灵台县| 武川县| 大宁县| 潮州市| 贺州市| 尚志市| 皋兰县|