I am trying to slide an image left using jquery animate with the easing plugin and it doesn't seem to want to work.
I have an image with the id=1 and the following 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'
});
});
});