I have this written, but the animations are colliding.
How to changes this to work correctly?
function () {
$("#presentState").show("slide", { duration: 1500, easing: 'easeOutBack', direction: directionActive });
$("#presentState").fadeIn( 1500, 'easeOutBack');
}
I also have tried this and it doesn’t work at all.
$("#presentState").show("slide", { duration: 1500, easing: 'easeOutBack', direction: directionActive }).fadeIn(1500, 'easeOutBack').dequeue();
This is what I have ended up doing:
I had to use
.hide();at the end of the first function call.