0
我想滑动一个图像左侧使用jquery动画与缓动插件,它似乎并不想工作。jQuery动画幻灯片左
我与ID = 1的图像和下面的JavaScript
$(document).ready(function() {
$('#center-photo img:first').show();
$('#next').click(function() {
var active = $('#center-photo img:first');
//Slider Animation
$('#1')
.animate(
{ left: 200 }, {
duration: 'slow',
easing: 'easeOutBounce'
})
.animate(
{ left: 0 }, {
duration: 'slow',
easing: 'easeOutBounce'
});
});
});