0

タイトルのあるテーブルデータ(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>​

ライブコードスニペットをお願いします:JSFiddle Link

4

2 に答える 2

1

あなたの問題は実際にはあなたのコードとは何の関係もありません。それは実際にはブラウザの問題です。一部のブラウザは、標準のブラウザのツールチップ属性を表示しません。すべてのブラウザでホバーしたときにタイトルを表示する場合は、javascriptメソッドを確認してください。

于 2012-05-08T16:31:59.020 に答える
1

ToolTipプラグインの方が適しているように思えます。

詳細については、こちらをご覧ください。

于 2012-05-08T16:55:06.220 に答える