mouseover on text html

Posted by Hulk on Stack Overflow See other posts from Stack Overflow or by Hulk
Published on 2010-02-02T13:58:00Z Indexed on 2010/04/07 12:13 UTC
Read the original article Hit count: 286

Filed under:
|
|

In my javascript file there is,

var htm = '<div style="overflow:hidden;height:24px;width:150px;" onmouseover="tooltip(this)">' ;

function tooltip(sp)
{
    sp.title = sp.innerHTML;
}

So on mouse over a text the tooltip is displayed.But the tool tip does not stay longer. meaning the position is not fixed. Can the code be modified such that mouse over should be done on the text and the tool tip also........

© Stack Overflow or respective owner

Related posts about html

Related posts about css