Thank you for that, it is exactly what I was looking for. I will use the contact item as the example here.
If you would like this link to remain but just not take the user to another page you will need to set the href attribute to be #.
in menu.php
<a class="link" href="/contact.php">Contact</a>
change to
<a class="link" href="#">Contact</a>