Click to return to the DHTML, HTML     
navigateFrame Method     pause Method     Default Behaviors Referen...    
Web Workshop  |  DHTML, HTML & CSS

navigateHomePage Method


Navigates the browser to a user's home page.

Syntax

oHomePage.navigateHomePage()

Return Value

No return value.

Example

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

Sample Code

<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>
This feature requires Microsoft® Internet Explorer 5 or later. Click the icon below to install the latest version. Then reload this page to view the sample.
Microsoft Internet Explorer

Applies To

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

See Also

DHTML Behaviors


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.