Вот пример
<script type="text/javascript">
if(show==true){
var obj=document.getElementById('hint');
obj.style.position='fixed';
obj.style.left=window.clientWidth;
obj.style.top=window.clientHeight;
window.status='x-'+obj.style.left+';y-'+obj.style.top;
obj.innerHTML=text;
}
else{
document.getElementById('hint').innerHTML='';
}
}
</script>
<span onmousemove="showHint(true,'DELPHI');" onmouseover="showHint(false,'');">DELPHI</span>
<div id="hint" style="width:150px;background-color:#000000;color:#ffffff;"></div>
[/html]