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:
- Show
div
onmouseenter()
- Load data via
$.ajax
and append it todiv
- Hide
div
onmouseleave()
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/
精彩评论