我目前有一条这样的快速线:
<img title="FLV Video goes here" class="tooltip" src="/images/icon-question.png" alt="questions" width="12" height="12" border="0" />
当您将鼠标悬停在图像上时,它会在title属性中显示文本,我该如何在其中嵌入swf?它包含javascript标签和div标签,直接放置它 进入标题标签会导致错误输出。
我正在使用jquery的工具提示插件。
有什么建议吗?感谢。
答案 0 :(得分:0)
改为使用Hovertips:http://www.dave-cohen.com/node/1186。
这就是你需要的:
<a id="a1">link</a>
<div class="hovertip" target="a1"><h1>jQuery rocks!</h1>I'm the newest member of the jQuery fan club!</div>