I am animating a div with:
$('.twitterNav').click(function(){
var maxLeft = $('#jsTwitter').width() - $('.tweet').width() -10;
$('#jsTwitter').animate({
left: $(this).attr('data-id')+'='+($('.tweet').width()+10),
}, 100, function() {
//alert($('#jsTwitter').attr('left'));
});
})
How do I retrieve the current left position?
I thought I would be able to do get this with $('#jsTwitter').attr('left') but this just returns ‘undefined’
I got it