jQueryRotate传数组
想用jQueryRotate做个码表的动画效果。
但jQueryRotate function只?支持传值进去。
现在想传数据,或者构造多个$(this).rotate({})方法
形成加速,减速效果。
我尝试了多种方法,也改了jQueryRotate插件里的方法都没成功。
求指点。
但jQueryRotate function只?支持传值进去。
现在想传数据,或者构造多个$(this).rotate({})方法
形成加速,减速效果。
我尝试了多种方法,也改了jQueryRotate插件里的方法都没成功。
求指点。
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>jqueryrotate</title>
</head>
<body>
<div style="width:500px;margin:0 auto">
<h3>演示六、点击旋转一</h3>
<img id="img6" src="http://avatar.csdn.net/B/3/A/1_webyellow.jpg" width="256" height="256"/>
</div>
<script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/1.6.4/jquery.js"></script>
<script type="text/javascript" src="http://www.jq22.com/demo/choujiang/js/jQueryRotate.2.2.js"></script>
<script>
$(function() {
$("#img6").rotate({
bind:
{
click: function() {
$(this).rotate({
angle: 0,
animateTo: 50,
duration: 1000,
callback: function () {
$("#img6").rotate({angle:48});
}
});
}
}
});
});
</script>
</body>
</html>
...全文
相关推荐
jQueryRotate
jQueryRotate
jqueryrotate:jQueryRotate-插件可通过动画支持以任意角度交叉浏览旋转图像
jqueryrotate 在此处查看文档/示例页面: :
旋转插件jQueryRotate.2.2
旋转插件jQueryRotate.2.2,旋转图片,方便快捷,实用
jQuery旋转插件jqueryrotate用法详解
主要介绍了jQuery旋转插件jqueryrotate用法,结合实例形式详细分析了jqueryrotate插件的功能、定义及相关参数的使用方法,需要的朋友可以参考下
jQueryRotate 转盘,很不错的一个demo
jQueryRotate 转盘,很不错的一个demo


