开发者

Custom tooltip on Controls

开发者 https://www.devze.com 2023-02-04 05:56 出处:网络
I wanted to use a similar tooltip as is displayed when we over the videos on this ASP.NET Ajax site.

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 si开发者_高级运维milar tootlip on my controls?


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消