Skip to content

Instantly share code, notes, and snippets.

@dan-silver
Last active August 19, 2017 16:04
Show Gist options
  • Save dan-silver/5941430 to your computer and use it in GitHub Desktop.
Save dan-silver/5941430 to your computer and use it in GitHub Desktop.
<div class="et-wrapper">
<button class="et-rotate" et-in="rotateSlideIn" et-out="rotateSlideOut">Next</button>
<div class="et-page">
<h2>Page 1</h2>
</div>
<div class="et-page">
<h2>Page 2</h2>
</div>
</div>
@Barina
Copy link

Barina commented Apr 29, 2015

The "Back" button does not go back its going forward again but because there isn't any other page it goes back to the beginning
How do you really implement "Back" button? you know to go to the previous page or to go to a specific page

@rahmadimaru
Copy link

Hi is there any way how to bind specific div once we clicked the button?
For example user hit button A so the transition will bind the div/content A, once it's B then bind the div/content B.
Looking forward your solution, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment