主要代码:
function magicpuff() {
$("img").mousedown(function() {
pos = findPos(this)
left = pos[0];
top = pos[1];
puffer = this.cloneNode(true);
puffer.style.left = left + "px";
puffer.style.top = top + "px";
puffer.style.position = "absolute";
$(document.body).append(puffer);
$(puffer).Puff(1000, function() { $(puffer).remove() });
return false;
})
}
$(document).ready(magicpuff);
源文件下载
Set as favorite
Bookmark
Email this
Hits: 4701
Comments (0)

Write comment
You must be logged in to post a comment. Please register if you do not have an account yet.
| < Prev | Next > |
|---|
LBL_NEWERNAME
- 10/11/2007 22:05 - jquery biggerlink
- 07/11/2007 03:41 - Semitransparent rollovers made easy with JQuery
- 03/11/2007 19:52 - Confirm inplace( jQuery)
- 03/11/2007 07:51 - jQuery lightbox plugin
- 24/10/2007 03:06 - 链接检查器(jquery)
LBL_OLDERNAME
- 21/09/2007 09:05 - 图片加载延迟(jquery应用)
- 21/09/2007 08:03 - 数字拼图游戏(jquery应用)
- 17/09/2007 22:16 - ThickBox 2.0





