i am trying to animate a div, what i need is when click a button i want to hide a div and show another div that is next child.
here is my fiddle.
I am trying to do like this this site here you can see when you click the learmore link which is in the top-right hand side then another div content open like sliding.
DEMO jsBin
HTML:
CSS:
If you have a defined number of slides you can keep the code intact, in the other hand I’d suggest you to – when the last slide is reached – hide the #learn programatically with jQuery. Let me know if you need help with that one.
Happy coding