Saturday, May 26, 2018

javascript - Add a tooltip to a div



I have a div tag like this:










How can I displaying a tooltip on :hover of the div, preferably with a fade in/out effect.


Answer



For the basic tooltip, you want:






For a fancier javascript version, you can look into:




https://jqueryhouse.com/best-jquery-tooltip-plugins/



The above link gives you 25 options for tooltips.


No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...