如何在不同位置的图像上显示文本 [英] How to display text on a image at various locations

查看:65
本文介绍了如何在不同位置的图像上显示文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经通过了thread13362.html这与我的问题类似。我有一张图片,是我们团队的合影。我想在鼠标上显示相应的姓名。即使它显示在图像底部的单独div也会做。请在这方面帮助我。现在我没有任何代码。

问候

Naveen

Hi,
I have gone through the thread13362.html which is similar to my problem. I have a image which is a group photograph of our team. I want to display respective name on mouse over to the particular person. Even it is displayed at bottom of the image in a separate div will also do. Kindly help me out in this regard . right now i do not have any code for this.
Regards
Naveen

推荐答案

你可以使用带有title属性的map / area标签。没必要使用JavaScript。
You can use the map/area tags with the title attribute. Not necessary to use JavaScript.



您可以使用带有title属性的map / area标签。没必要使用JavaScript。
You can use the map/area tags with the title attribute. Not necessary to use JavaScript.



请将示例代码发送给我

Please send me sample code if any


参见此链接(MAP标记) - 根据您的要求进行调整。
See this link (MAP tag) - adapt it to your requirements.


这篇关于如何在不同位置的图像上显示文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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