[HTML] I don't know what this is called, can someone point me in the right direction to build something like this?
Go to solution
Solved by mariushm,
You could also just have each page in a div with a unique id example "page01" , "page02" etc and on bottom you have previous and next buttons with a javascript function on them.
The function reads the display attribute of each div and sets only one at a time to display:block, and the rest to display:none;
You could probably have some CSS rules to make a transition effect when the div is hidden or shown .. see as an inspiration : https://medium.com/cloud-native-the-gathering/how-to-use-css-to-fade-in-and-fade-out-html-text-and-pictures-f45c11364f08
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now