Event 'srcUrn' Example : Event Properties « Event « JavaScript DHTML






Event 'srcUrn' Example

 
    
<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>

    
      
        
  








Related examples in the same category

1.Event qualifier
2.Event saveType
3.Event nextPage
4.Event repeat
5.Event return Value
6.Event pageY and pageX
7.Event screenY, screenX
8.Event offsetY and offsetY
9.Event 'layerY'
10.Event 'layerX'
11.Event 'propertyName'
12.Event from Element
13.Event screenX
14.Event 'target' Example
15.Event source element
16.Event to Element
17.Event type
18.Event y and x Property
19.'contentOverflow' Example
20.'cancelBubble' Example
21.Get event Phase: CAPTURING,BUBBLING