<html>
<head>
<script language="JavaScript" type="text/javascript">
<!--
var trigger, x, y;
function getMousePosition()
{
clearTimeout(trigger);
y = window.event.clientY;
x = window.event.clientX;
}
function triggerShow(txt)
{
trigger = setTimeout('showInfo(\'' + txt + '\');', 500);
}
function showInfo(txt)
{
alert(txt);
/*
desc.innerHTML = txt;
desc.style.left = x;
desc.style.top = y;
desc.style.display = 'block';
desc.style.visibility = 'visible';
*/
}
//-->
</script>
</head>
<body onload="setTimeout('showInfo(\'text text text\');', 500);">
</body>
</html> |