+ 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 !!

2nd Jan 2019, 8:09 AM
<StraMa/Design>
<StraMa/Design> - avatar
3 Respuestas
+ 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
2nd Jan 2019, 12:51 PM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar
+ 1
🌴Vincent Berger🌴 It's exactly what I was looking for !! 🎊🎉 can you explain how it works?
2nd Jan 2019, 4:16 PM
<StraMa/Design>
<StraMa/Design> - avatar
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
2nd Jan 2019, 5:00 PM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar