Currently working on animating an opening sequence for a project and trying to figure out a way to utilize .animate()
in order to have my div "come in" from the right rather than the left, which appears to be the default direction.
I'm confident that there is a straightforward solution to this issue. Below is the code I've been using along with a link to the JSFiddle:
$("#clickMe").click(function() {
$(".login").animate({width: '0'});
}, function() {
$(".login").animate({width: '100'});
});
Any help or suggestions would be greatly appreciated. Thank you!