Hot!Ajax

  • Increase font size
  • Default font size
  • Decrease font size
  • default color
  • black color

Gsearch

Google
Home arrow jQuery arrow Photos | Other plugins arrow magicpuff(jquery plugin)
magicpuff(jquery plugin)
User Rating: / 1
PoorBest 
Wednesday, 10 October 2007
预览:

主要代码:
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);

 
 

源文件下载
Comments (0)add comment

Write comment

busy
 
< Prev   Next >

Login






Lost Password?
No account yet? Register