jQuery FlyTo效果

| No Comments | No TrackBacks
从一个地方飞到另一个地方
把jQuery的animate方法封装了一下,支持设置fly时间、是否fade away,支持easing库,支持回调

具体使用方法:

    $("#from").flyTo("#to",1000,{fade:'true',easing:'backout',callback:function(){
       ended();             
    }});

ended(); 是回调时调用的函数,fade为true在fly的同时会慢慢消失

http://jqueryplugin.googlecode.com/files/FlyTo.zip

No TrackBacks

TrackBack URL: https://www.thinkjam.org/tjmanage/trackbacks/1179

Leave a comment

About this Entry

This page contains a single entry by meteor published on August 2, 2008 2:03 AM.

jQuery checkbox 全选/反选 was the previous entry in this blog.

jQuery AnimateMask 动态遮罩 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Categories

Pages

  • About
  • Contact
OpenID accepted here Learn more about OpenID
Powered by Movable Type 7.6.0