开发者

jQuery hover profile?

开发者 https://www.devze.com 2022-12-19 09:09 出处:网络
How to create the effect like开发者_StackOverflow中文版 trulia when you hover on the avatar? http://www.trulia.com/voices/Home_Buying/Why_are_there_only_homes_listed_under_quot_Recen-164127Check out

How to create the effect like开发者_StackOverflow中文版 trulia when you hover on the avatar?

http://www.trulia.com/voices/Home_Buying/Why_are_there_only_homes_listed_under_quot_Recen-164127


Check out jQuery Ajax Tooltip


This is the basic idea:

  1. Show div on mouseenter()
  2. Load data via $.ajax and append it to div
  3. Hide div on mouseleave()


You may want to look into this list, it shows quite a few plugins that creates such tooltips:

http://www.webdesignbooth.com/15-jquery-plugins-to-create-an-user-friendly-tooltip/

0

精彩评论

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