Good afternoon, the question is.
I write a function animating the block, the speed is passed to it by the parameter. The default animation is as follows:
animate({opacity: 'show', height: 'show'}, parseInt(settings.speed))
How correctly to provide possibility to select animation only slide or only fade through parameters?