+1

Making A New Page Without Changing The Page

I basically want to make it so that if you press a button, it will change the features of the page to a different section of the code but doesn’t switch web pages.

11/14/2019 12:52:30 AM

Copyright Gamezz

4 Answers

New Answer

+1

What you are describing sounds like a single page application. See https://en.m.wikipedia.org/wiki/Single-page_application

0

<a href="#contact"><button>go to contacts</button></a>

0

What you need is a Single Page Application. Traditionally SPA was developed using only ajax. But now there are good JavaScript libraries like React js for developing Single Page Application.

0

If you mean something like a onepager you can jump to other areas of your website by using <a> tags like this: <a href="#id_of_some_element_on_your_page">Link</a> If you would like to change your page content without reloading it you have to use AJAX.