开发者

How to create a simple and browser independent tooltip?

开发者 https://www.devze.com 2023-03-01 14:47 出处:网络
I\'m trying to create a tooltip like the one that youtube开发者_如何学Python shows you when you hover over their \"like\" button, for example.

I'm trying to create a tooltip like the one that youtube开发者_如何学Python shows you when you hover over their "like" button, for example.

How to create a simple and browser independent tooltip?

How can I achieve this in a simple and browser compatible way?


You're looking for a tooltip plugin. Try QTip2 (if you're using jQuery.)


What you are referring too is a tooltip.

Most commonly is this effect initiated by JavaScript, a vast majority requiring the jQuery, Mootools or Prototype -javascript libraries. There are probably ways of doing this with CSS as well, but these will have many compatibility issues across browsers

this list shows a lot of these plug-ins: http://www.webdesignbooth.com/15-jquery-plugins-to-create-an-user-friendly-tooltip/

0

精彩评论

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