function hideTip(oEvent) { var oDiv = document.getElementById("toolTipComponent"); oDiv.style.visibility = "hidden"; } </script> </head> <body> <P>Move your mouse over the hyper link.</p> <a href="http://www.navioo.com" onmouseover="showTip(event)" onmouseout="hideTip(event)">www.navioo.com</a>
<div id="toolTipComponent" style="background-color: green; position: absolute; visibility: hidden; padding: 5px"> <span style="font-weight: bold">Custom Tooltip</span><br/> detail information for www.navioo.com </div>