Hi,
I have a main view with a menu which helps me display another view. It’s similar to this:
<div id="page">
<div id="menu">
<a href="controller/page1">Page1</a>
<a href="controller/page2">Page2</a>
</div>
<div id="content">
<!-- Page1 or Page2 are displayed here -->
</div>
</div>
I know I can do this with AJAX (howto), and I can make ajax change my link to mypage/controller/index#Page2, but I would like it to be changed to mypage/controller/Page2. Is there a better way how to do this?
Thanks in advance!
Edit: I’ve gotten the answer on stackoverflow (if someone’s interested in this).