I'm trying to get this slide menu to work just as it is, but without changing the URL. Right now as you press the links to side the panels left and right, it will change the URL to have #default, #target1, #target2, #target3 appended to the end of the URL. How do I change the code to NOT have the URL change at all? I want it to remain the same as the links are clicked and the panels are sliding. http://jsfiddle.net/xgvn6y0e/
I am trying not to use javascript/jquery. I want it to be pure CSS. If this can't be done, please let me know.
<div class="container">
<div class="main-menu"><a href="#default">Main Menu Link</a>
</div>
<div class="wrapper">
<div id="right">
<div class="panel" id="target1">Target 1</div>
<div class="panel" id="target2">Target 2</div>
<div class="panel" id="target3">Target 3</div>
<div class="active" id="default">
<div id="ttt">
This is the Target Menu<br/>
<a href="#target1">Target 1</a><br/>
<a href="#target2">Target 2</a><br/>
<a href="#target3">Target 3</a><br/>
</div>
</div>
</div>
</div>
</div>