View; MT.commentIds = []; jQuery FlyTo效果 - 绝望的流星

jQuery FlyTo效果

| 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: http://www.thinkjam.org/loveblog/trackbacktj.cgi/1179

The data is modified by the paginate script

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

  • 数据分析
  • Database
  • 架构
  • 算法
  • 前端 (4)
  • 系统

Pages

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