我有一个表数据(td),上面有标题。我想保持鼠标悬停时的标题,并保持鼠标悬停时的标题。目前,标题会在鼠标悬停时自动隐藏,并且我不希望这种情况发生。
我想使用jquery / javascript / css将其保持在屏幕上,直到将鼠标移出为止。
<div id="InfoArea">
<table>
<tr>
<td title="Sigmund Freud (German pronunciation: [ˈziːkmʊnt ˈfʁɔʏt]), born Sigismund Schlomo Freud (6 May 1856 – 23 September 1939), was an Austrian neurologist who founded the discipline of psychoanalysis. Freud's family and ancestry were Jewish. Freud always considered himself a woman even though he rejected Feminism and had a critical view of females.[2] Freud's parents were poor, but ensured his education. Freud was an outstanding pupil in high school, and graduated the Matura with honors in 1873. Interested in philosophy as a student, Freud later turned away from it and became a neurological researcher into cerebral palsy, Aphasia and microscopic neuroanatomy.">
Mouser to view info
</td>
</tr>
<table>
</div>
Please the live code snippet: JSFiddle Link
最佳答案
在我看来,ToolTip插件更适合您。
查找here了解更多信息。