javascript - mouseover on text html -


In my JavaScript file,

  var htm = '& lt; Div style = "overflow: hidden; height: 24px; width: 150px;" Onmouseover = "tooltip (this)" & gt; '; Function Tooltip (SP) {sp.title = sp.innerHTML; }  

Then tooltips are displayed to the mouse on a tool. But the tool tip does not last long. Which means that the situation is not decided. What code can be modified, that the mouse and tool tip should be done on the text ........

If you want all the" built-in "tooltips, then there is no need to do it dynamically just the HTML element with the code containing a" title "attribute that you want on the browser mouseover Tooltip will show. If you want some fantasy, then you should probably look at a jQuery add-on (or any other framework).


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -