【发布时间】:2015-03-17 11:11:14
【问题描述】:
我有一组三个水平图像。现在,当用户将鼠标光标悬停在任何其他三个图像上时,我必须显示每个图像的工具提示图像。
问题在于我想显示图像的每个工具提示。我只能通过 CSS 来实现这件事。没有更多的 jQuery 和其他东西。
有人可以在这方面帮助我吗?
以下是三张水平图像的 HTML。
<table style="width:100%" id="thumbs">
<tr>
<td><span style="cursor:pointer" ><img id="img1" width="80" height="80" src="http://78.134.51.289/theme/frontend/foxplus/style/default/image/layout/OpenIcon.png"/></span></td>
<td><span style="cursor:pointer" ><img id="img2" width="80" height="80" src="http://78.134.51.289/theme/frontend/foxplus/style/default/image/layout/ColsedIcon.png"/></span> </td>
<td><span style="cursor:pointer" ><img id="img3" width="80" height="80" src="http://78.134.51.289/theme/frontend/foxplus/style/default/image/layout/SecretIcon.png"/></span> </td>
</tr>
</table>
提前致谢。您可以将任何.png 格式且尺寸为273px * 224 px 的图像作为工具提示
【问题讨论】: