I am looking to create a button that, when clicked, will slide in a different page link and modify the URL to cover 80% of the website, while keeping the previous page in the background. Upon closing, the URL will revert back to the original one.
I have considered several methods to accomplish this, but none of them effectively change the URL of the page, such as:
- embedding an iframe element
- overlaying a div element
- creating a pop-up
For reference, a site that achieves this effect can be found here: