简体   繁体   English

在悬停在ASP.NET上的图像按钮上显示小消息?

[英]show little message on hover over an image button on ASP.NET?

I'm developing a system which uses a lot of image buttons for redirections... However, I want the buttons to show a little mesage whenever you put the cursor over the button... 我正在开发一个使用很多图像按钮进行重定向的系统...但是,我希望每当您将光标放在按钮上时按钮都显示一些消息...

Example, when you hover the cursor over the button which redirects you to Schedule, a little message that says "Schedule" appears. 例如,当您将光标悬停在将您重定向到“计划”的按钮上时,会出现一条小消息“计划”。 That way, the user may not recognize the picture, but when he hovers over the button, he will know where will he be redirected... 这样,用户可能无法识别图片,但是当他将鼠标悬停在按钮上时,他将知道他将重定向到何处...

Hope you can help me 希望你能帮我

You can use ToolTip property associated with your image (System.Web.UI.WebControls.Image) 您可以使用与图像关联的ToolTip属性(System.Web.UI.WebControls.Image)

Link : http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.webcontrol.tooltip 链接: http//msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.webcontrol.tooltip

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM