Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

pageControl

const pages=document.querySelectorAll("[data-page]");function changePage(e){pages.forEach(e=>{e.style.display="none"}),document.querySelector(`[data-page="${e}"]`).style.display="block"}
Source by cdn.jsdelivr.net #
 
PREVIOUS NEXT
Tagged: #pageControl
ADD COMMENT
Topic
Name
6+2 =