我正在寻找jQuery的工具提示插件,将允许以下类型的行为。
<a href="somewhere.html">
<span>
<img src="someimage.jpg" style="display: none;" />
Here is the tooltip content.
</span>
Here is the link to somewhere.
</a>
我希望的行为是将鼠标悬停在“这里是指向某个地方的链接”上,并弹出一个工具提示,显示包含"someimage.jpg“和"Here is The tooltip content”的跨度内容。
我更喜欢工具提示跟踪鼠标在链接上的移动,以及工具提示的外观(背景色,不透明度,边框颜色等)可配置。
我找到的两个最流行的工具提示,"clueTip“和Jörn Zaefferer的”工具提示“似乎不符合要求,除非我遗漏了什么。
最终,链接和图像将动态生成。
发布于 2009-02-12 21:40:58
这是有史以来最棒的一次!
http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/
演示:(查找“链接到雅虎”示例,以满足您的所有需求)
http://jquery.bassistance.de/tooltip/demo/
编辑:我看到你提到了Jorn (我不知道他的名字),但是看看"yahoo“的例子,它应该能做你想要的。
发布于 2009-02-12 21:17:23
我是BeautyTips
的铁杆粉丝
https://stackoverflow.com/questions/543277
复制相似问题