HTML - ToolTip

Step1. Add "htmltooltip.js" into <head> tag in your HTML
See "htmltooltip.js" source code here

Step2. Insert this stylesheet script in <head> tag in your HTML

<style type="text/css">

     div.htmltooltip {
     position: absolute; /*leave this and next 3 values alone*/
     z-index: 1000;
     left: -1000px;
     top: -1000px;
     background: #EEEEEE;
     border: 2px solid black;
     color: black;
     padding: 3px;
     width: 250px; /*width of tooltip*/
     }

</style>

In <body> tag. Add your tooltips text to <div class="htmltooltip"></div>.

Example.

<a href="#" rel="htmltooltip"> Displaying My tooltip text </a>

<div class="htmltooltip">My tooltips:1</div>

Popular posts from this blog

SAP CPI - Loop Process Call with SuccessFactor (oData V2)

Setting IntelliJ IDEA to run Groovy Script

C# - BASE64 to Image