Step 1:
This function will create a pop up text. Specify the location of the tool tip by adjusting the Top and left parameters.
function ShowIt(tipmsg)
{
document.body.insertAdjacentHTML('BeforeEnd', '<DIV STYLE
="position:absolute; TOP:100px; LEFT:12px" ID="TheTip"> <TABLE
Style=border-style:solid Style=border-width=1px bordercolor="000000"
CELLSPACING=0 CELLPADDING=0><TD BGCOLOR="ffffCC">'+tipmsg+'
</TD></TABLE></DIV><SCRIPT LANGUAGE=javascript> ');
}
Step 2:
This function will clear the popup text when the mouse is out from the label.
Loseit()
{
TheTip.innerHTML=""
TheTip.outerHTML=""
}
Step 3:
<A href="http://www.Yahoo.com" OnMouseOver="Showit()" OnMouseOut="Loseit()">Yahoo</a>
Requires Free Membership to View
Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.
This was first published in June 2002