I've been trying to mess around with the jQuery transit easing class located at: http://ricostacruz.com/jquery.transit/
I've set up a simple chaining of 4 .class elements, that I move from one spot to another. This is working fine in Crome - however in Firefox + IE there are no animation.
Im testing this at my dummy FB app page here: https://www.facebook.com/pages/Dette-er-en-test/186656608020464?sk=app_379428358804869
My sequence chaining is setup up like this:
<script>
$(document).ready(function()
{
$('.box1').hide();
$('.box2').hide();
$('.box3').hide();
$('.box4').hide();
$("#btn1").click(function(){
$('.box1').show();
$('.box2').show();
$('.box3').show();
$('.box4').show();
$('.box1').
css({ y: '+400px' }).
transition({ y: -35 }, 350, 'out').
transition({ y: 0 }, 150, 'in');
$('.box2').
css({ y: '+400px' }).
transition({ y: -35, delay: 350}, 350, 'out').
transition({ y: 0, }, 150, 'in');
$('.box3').
css({ y: '+400px' }).
transition({ y: -35, delay: 700}, 350, 'out').
transition({ y: 0, }, 150, 'in');
$('.box4').
css({ y: '+400px' }).
transition({ y: -35, delay: 1050}, 350, 'out').
transition({ y: 0, }, 150, 'in');
});
});
</script>
Any ideas?