Custom tooltip on Controls

不问归期 提交于 2019-12-13 04:28:58

问题


I wanted to use a similar tooltip as is displayed when we over the videos on this ASP.NET Ajax site. http://www.asp.net/ajax/videos

Which control is this? Is it the animation control? How to use a similar tootlip on my controls?


回答1:


It's possibly the Popup Control from the Ajax Control Toolikit, but not necessarily. This is very simple to do with css and javascript using a hidden div element and a mouseover event.

There's some sample code you can use here: http://www.willmaster.com/blog/css/floating-layer-at-cursor-position.php




回答2:


There are a lot of Jquery plug-ins that will do similar things. Here's an example of one - http://code.drewwilson.com/entry/tiptip-jquery-plugin



来源:https://stackoverflow.com/questions/4703773/custom-tooltip-on-controls

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!