首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > jQuery插件的CSS类/补间动画。

jQuery插件的CSS类/补间动画。

  • 资源大小:4.09 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: jquery 动画 css 插件

资 源 简 介

CSS Class-based animations with jQuery You might like this plugin if you can"t stand CSS/presentation creeping into your JavaScript through jQuery.fn.animate() calls. Keep presentation where it should be (in linked or inline CSS class definitions) and just animate to and from CSS classes. Provides a lot of flexibility. See examples. Now you can write: $("div").animate(".myCssSelectedClass"); instead of: $("div").animate({ height: "100px", //expand down opacity: 1 //fade in// ... //etc, etc.}) .find("a") //now animate the anchor elems inside .animate({ top: 100px, left: 100px // slide in from upper left// ... // etc, etc. }) .end() .find("p") //and the paragraph elems .animate({ top
VIP VIP
0.176701s