You are here: irt.org | FAQ | JavaScript | Window | Q207 [ previous next ]
<script language="JavaScript"><!-- var timer = ''; function url(url) { window.status = url; } function over(text,url) { window.status = text; timer = setTimeout('url("' + url + '")',1000); return true; } function out() { window.status = ''; clearTimeout(timer); return true; } //--></script> <a href="apage.html" onMouseOver="return over('some status text',this.href)" onMouseOut="return out()" >some link text</a>