锁定老帖子 主题:jQuery Tooltip插件
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
||
---|---|---|
作者 | 正文 | |
发表时间:2008-12-08
Cut & Paste Ajax Tooltip script v1.2
Last update (v1.2 July 10th, 08'): Modified tooltip to follow mouse, added Ajax "loading" message. Description:
This Ajax
script enhances the default " Example: Try moving your mouse over this link to see an Ajax tooltip shown, with its contents dynamically populated from an external file. Or, try it with the below DIV instead: I am a DIV with an ajax tooltip added! Roll your mouse over here.
Directions: Step 1: Insert the below into the <head> section of your page:
The code above references two external .js files, plus one image. Download them below: Step 2: Then to add an ajax tooltip to any element on your page, just use the "title" attribute of HTML as usual, but with the following convention: <a href="#" title="ajax: external.htm">Some link</a> where " 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
||
返回顶楼 | ||
浏览 4088 次