+ 1
How to create multiple pages with javascript?
Turning the web I saw some projects that included the display of multiple pages, hiding them with javascript functions and calling them when a button was clicked or qigued something in a search label, can someone explain how it works, even through a practical example? Thanks a lot to everyone for the help and support friends !!
3 Answers
+ 2
Hi Maurizio Strazzullo,
To accomplish this you can use JQuery,
Create 4 div elements whichs acts as 4 pages.
Have a look at these 2 snippets, hope it helpsšš
https://code.sololearn.com/Wca2UA7UeWbp/?ref=app
https://code.sololearn.com/W44R8XlFg2Uq/?ref=app
+ 1
š“Vincent Bergerš“ It's exactly what I was looking for !! šš can you explain how it works?
0
Maurizio Strazzullo,
The tabs(menu) interact with JQuery to display the content(page/div) that is assigned with the tab.
Have a look at the changes, hope it helpsš
https://code.sololearn.com/WJRTIIESLSX6/?ref=app