I am fairly new with Javascript. Now, what I need is that I have a link in my projectXYZ which leads to another projectABC. I need to change the color of the link and show a tooltip dialog for the MouseOver event of the link.
I tried to change the color, but could not succeed with the tooltip. Is there a combined solution which fulfills these requirements ?
Thanks in advance.
Usually it is said to be sufficient to add a 'title' attribute in tour DIV's and it will show up as tooltip on mouse-hover.
But to make a basic tooltip with proper positioning, you can use the below. I have used it and it works !!
JS (will have two mwthods, showTip and hideTip) :
CSS:
And the HTML (will have an extra DIV below the href to show tooltip):
Hope it helps !!