Dhtml Example Tooltip

Dhtml Example Tooltip

<html><head>

<script>

function gettip(txt)

{

document.getElementById(‘tip’).innerHTML=txt;

}

function reset()

{

document.getElementById(‘tip’).innerHTML=””;

}

</script>

</head>

<body>

<p>Mouse over these drinks:</p>

<span onmouseout=”reset()”>Coffee</span>

<br /><br />

<span onmouseout=”reset()”>Milk</span>

<p id=”tip”></p>

</body>

</html>

OUTPUT:

Mouse over these drinks:

Coffee

Milk

DOWNLOAD SOLUTION HERE