<div id="home" style="display: none;">
<li><a href="#mywork" onclick="show_div('home');">My Work</a></li>
It should be sending home to target the div tag with your test data:
It's a simple error to make, sometimes when you make errors like this, you can't see them because you think it's something much bigger and look in all the wrong places.
That is perfect, thank you very much :) It was just a silly mistake on my part that caused my problem.
Your anchor onclick event is sending the wrong id