无提示的工具提示列表 [英] ToolTip For Unordered list
本文介绍了无提示的工具提示列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个无序列表,列表的左侧是图像,右侧是它们的描述.我的老板希望用户每次将鼠标悬停在列表上的每个项目时,为列表中的每个项目提供工具提示.我尝试在线使用一些jQuery插件,但是它只允许为整个项目提供一个工具提示,而不能为每个项目提供一个工具提示.我需要这方面的帮助.一个很好的例子会有所帮助.
I have an unordered list with images on the left of the list and their description on the right. My boss wants for every item in the list to give a tooltip every time the user hovers each item on the list. I tried using some jQuery plugins online however, it only allowed one tooltip for the whole item not for each item. I need help on this. A good example will be helpful.
推荐答案
仅向每个列表元素添加title
属性就足够了吗?
Will simply adding a title
attribute to each list element be sufficient?
<li title="tooltip goes here">Blah blah blah</li>
这篇关于无提示的工具提示列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文