Is there a way to use CSS to display the content of all 4 divs in the same place on the HTML body, based on the URL clicked? Only one div should be displayed at a time in the center of the page.
For example, if URL #1 is clicked, it should show the content of div #1, and so on for the other 3 divs. Each div should be displayed one at a time in the middle of the page.
CSS
.viewerpane {
margin-top: 10px;
margin-left: 100px;
width: 1200px;
height: 560px;
}
HTML
<div class="row">
<div class="viewerpane" id="Swipe Access_viewerpane" style="position:relative"></div>
<div class="viewerpane" id="After Office Hours_viewerpane" style="position:relative"></div>
<div class="viewerpane" id="Weekend Access_viewerpane" style="position:relative"></div>
<div class="viewerpane" id="All Users Data_viewerpane" style="position:relative"></div>
</div>