<!--
Example revised from
The Web Programmer's Desk Reference
by Lazaro Issi Cohen and Joseph Issi Cohen
ISBN: 1593270119
Publisher: No Starch Press 2004
-->
<html>
<body>
<style>
@media all {IE\:homePage {behavior:url(#default#homepage)}}
</style>
<script language="JavaScript">
function goHomePage(){
HP.navigateHomePage();
event.returnValue=false;
}
</script>
<script language="JavaScript" for="myA" event="onmouseout">
var m = event.srcUrn;
alert("The value of property srcUrn is: "+m);
</script>
<yourNs:homepage id="HP"/>
<a id="myA" href="" onClick="goHomePage();">Navigate to your home page</a>
</body>
</html>
|