navigateHomePage Method

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

Navigates the browser to a user's home page.

Syntax

homePage.navigateHomePage()

Return Value

No return value.

Example

This example uses the navigateHomePage method to load a user's home page.

<HTML XMLNS:IE>
<HEAD>
<STYLE>
@media all {
   IE\:HOMEPAGE {behavior:url(#default#homepage)}
}
</STYLE>
<SCRIPT>
function fnGo(){
   oHomePage.navigateHomePage();
   event.returnValue=false;
}
</SCRIPT>
</HEAD>
<BODY>
<IE:HOMEPAGE ID="oHomePage" />
<INPUT TYPE=button VALUE="Navigate" onclick="fnGo()">
</BODY>
</HTML>

Code example: https://samples.msdn.microsoft.com/workshop/samples/author/behaviors/navigateHomePage1.htm

Applies To

homePage

See Also

Introduction to DHTML Behaviors