2
Is there any way to change the direction of Jquery’s toggle() effect? For example, I made a button that when clicking, it shows and closes a div
$('.botao').click(function(){
$('.div').toggle(700);
});
Only, that it kind of has an automatic animation. From left to right >>> I wanted the effect to start from top to bottom, in case, start showing the top of the div and finish showing everything when it appears below. Is there a way to do this with toggle()? Or is there something you can do?
That’s right Mathias, careless on my part to forget it, thank you very much!
– Lucas de Carvalho
@Lucascarvalho put a much more complete example in the answer, to orders =) .
– Mathiasfc