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>
Applies To
[ Object Name ] Platform Version Win16: Win32: Mac: Unix: WinCE: Version data is listed when the mouse hovers over a link, or the link has focus. homePage
See Also
dhtml behaviors
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.