I have a (somewhat long) single page website that uses some CSS (e.g. each content item is a div) I would like to move this to a “set of separate pages” which are navigable by means of a menu.
so instead of
<head>...</head>
<body>
<div>stuff</div>
<div>more stuff</div>
<div>even more stuff</div>
</body>
I’d like to be able to navigate this so from the user-perspective, it appears to be
<head>...</head>
<body>
<div>stuff</div>
</body>
<head>...</head>
<body>
<div>more stuff</div>
</body>
<head>...</head>
<body>
<div>even more stuff</div>
</body>
Should I just break up the page into separate pages, use jQuery to hide all the other <div>‘s or is there another more elegant method of achieving this?
This should get you started: