I've got a few pages, all with different content, the pages are all linked in the nav using relative path tags. What I'd like to do from a usability point of view is to use jquery .load
to get the content from the other pages and load it into the main index page. So it wouldn't have to change pages.
I would like do is show :
<a id="show-services" href="our_services.html">OUR SERVICES</a>
for SEO / users with js turned off, but actually, load the content in using (below) for usability / UI purposes
google.load("jquery", "1.6.2");
google.setOnLoadCallback(function() {
$("#show-services").click(function(){
$(".content").load("our_service.html .content");
return false;
});
});
so have the .load
override the HTML a tag even though the HTML a tag is showing (so that a spider will still see the site's structure.