主要代码:
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: 2127
Comments (0)

Write comment
| < Prev | Next > |
|---|
Newer news items:
- 10/11/2007 22:11 - jquery biggerlink
- 07/11/2007 03:30 - Semitransparent rollovers made easy with JQuery
- 03/11/2007 19:13 - Confirm inplace( jQuery)
- 03/11/2007 07:25 - jQuery lightbox plugin
- 24/10/2007 03:35 - 链接检查器(jquery)
Older news items:
- 21/09/2007 09:53 - 图片加载延迟(jquery应用)
- 21/09/2007 08:32 - 数字拼图游戏(jquery应用)
- 17/09/2007 22:50 - ThickBox 2.0








