if you visit here: Example You will see my problem.
The page loads, then loads all the same content within a div id=content
content
Have a look at the sourc
This line of code:
$('.content').load('http://laynestaley.co.uk/test/'+fragment+'?ajax=1');
Is actually loading the entire page into . Your server-side code must not be executing the way you expect it to with that AJAX call (It's just loading the index page of /test/ again).
/test/