jQuery css transition toggle fix
I have a little problem with jquery toggle function. Sometimes i can fix
it very fast but now im totally crazy about this. Im using jquery transit
plugin to animate a DIV
The code:
$(".grid-1").toggle( function() {
$(this).transition({ perspective: '170px', rotateY: '180deg' },
function() {
$(this).transition({ perspective: '170px', rotateY: '0deg' });
});
});
If i refresh the page this DIV (.grid-1) just disappear... where i make a
mistake ?
Thank you!
No comments:
Post a Comment