<body onmouseover="if(event.srcElement.tagName=='A') (document.f1.t1.value=event.srcElement.href);">
<a href="http://www.163.com">163</a>
<a href="http://www.sina.com.cn">sina</a>
<form name="f1">
<input type="text" name="t1">
</form>
</body><script>
status="这是状态栏信息!"
alert(status)
</script>
<a href="http://www.163.com">163</a>
<a href="http://www.sina.com.cn">sina</a>
<form name="f1">
<input type="text" name="t1">
</form>
</body><script>
status="这是状态栏信息!"
alert(status)
</script>
<a href="http://www.163.com">163</a>
<a href="http://www.sina.com.cn">sina</a>
<form name="f1">
<input type="text" name="t1">
</form>
</body>
<iframe src="in.htm"></iframe>
in.htm<body onmouseover="if(event.srcElement.tagName=='A') (top.document.f1.t1.value=event.srcElement.href);">
<a href="http://www.sogua.com">sogua</a>
<a href="http://www.google.com">google</a>