5
I have a page where the user chooses to login (if already have registration) or register, if he chooses to register by clicking the button cadastre-se
I would like the element to exit to the left and the first step of the registration to come to the right like a slide system.
In my Home html I have the steps call each one through a include and I leave one down the other following the hierarchy, do not know if for what I want this is the best option.
Like I could use display:none
and applying display:block
in the next element. But I would like to make the effect slide
someone can give me a light and examples.
Follow an example in a simple way that I poderia
but I want to replace it with the slide effect:
Vlw
Friend, do an example in jsFiddler for us to help you. You want every step div of this step to have a right slide effect, that’s it?
– RBoschini
https://jsfiddle.net/1r3vwf30/embedded/result/ I made a simple example of the way I could do, but I would like instead of just disappearing it to slide left and that place to Etapa2 that will slide right. @Rboschini tried some things like
.hide()
and.show()
but it didn’t work very well nor the.animate({width: '0'} )
...– user27585
@Erick, take a look at Antaimate from jquery: http://api.jquery.com/animate/
– Ivan Ferrer
I left an example in Fiddler for you.
– RBoschini