如何在锚标记上使用javascript或jquery从db获取值时鼠标上显示图像 [英] How to display image on mouse over on anchor tag getting value from db using javascript or jquery

查看:44
本文介绍了如何在锚标记上使用javascript或jquery从db获取值时鼠标上显示图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有地方列表,当我在鼠标悬停时动态显示地方名称的锚标签时我需要我应该diplays将图像和描述放在bubbled中使用css



你可以引导或发送片段

Hi ,
I have list of places when ever i display freiends on anchor tags dynamically of places names when i ever mouse over on i need i should diplays place image and description in bubbled using in css

can u guide or send snippets

推荐答案

你还没有提到你想在哪里显示工具提示..在网页或winform?

无论如何,您总是可以继承工具提示控件并覆盖OnDraw()方法来放置图像以获得所需的结果。这是一个如何完成的示例,您可能需要进行一些更改才能获得所需的结果。



http://cboard.cprogramming.com/csharp-programming/119414-custom-tooltip.html [ ^ ]



希望它有所帮助。
You have not mentioned where do you want to display the tooltip.. in a webpage or winform?
Anyways you can always inherit the tooltip control and override the OnDraw() method to put up an image to get your desired result. This is an example of how this is done, you may have to make few changes to get the desired result.

http://cboard.cprogramming.com/csharp-programming/119414-custom-tooltip.html[^]

Hope it helps.


这篇关于如何在锚标记上使用javascript或jquery从db获取值时鼠标上显示图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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