jQuery工具提示的建议 [英] Recommendations for jQuery tooltips

查看:88
本文介绍了jQuery工具提示的建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找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"和此处为工具提示内容"的跨度的内容. /p>

我希望工具提示轨迹以及鼠标在链接上的移动以及工具提示的外观(背景颜色,不透明度,边框颜色等)是可配置的.

我发现的两个最受欢迎的工具提示"clueTip"和JörnZaefferer的工具提示"似乎不合适,除非我遗漏了一些东西.

最终,链接和图像将动态生成.

解决方案

OHHHHHHHH有史以来最好的一个!

http://bassistance.de/jquery-plugins/jquery-plugin-tooltip /

Demos :(寻找满足您所有需求的链接到yahoo"示例)

http://jquery.bassistance.de/tooltip/demo/

我看到你提到乔恩(我不知道他的名字),但是寻找雅虎"的例子,它应该可以满足你的要求.

I am looking for tooltip plugins for jQuery that would allow for the following type of behavior.

<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>

The behavior that I am hoping for is to hover over "Here is the link to somewhere" and have a tooltip pop up showing the content of the span containing "someimage.jpg" and "Here is the tooltip content".

I would prefer that the tooltip track along with the mouse's movement over the link and that the tooltip's appearace (background color, opacity, border color, etc.) be configurable.

The two most popular tooltips that I have found, "clueTip" and Jörn Zaefferer's "Tooltip" do not seem to fit the bill, unless I am missing something.

Ultimately, the links and images will be dynamically generated.

解决方案

OHHHHHHHH Best one ever!

http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/

Demos: (look for the the "Link to yahoo" example to meet all of your needs)

http://jquery.bassistance.de/tooltip/demo/

EDIT: i see you mentioned Jorn (i didn't know his name) but look for the "yahoo" example it should do what you want.

这篇关于jQuery工具提示的建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆