I use a modified version of a small js script called mootabs for this type of thing - it will work by either requesting the new content via ajax or modifying the dom. The benefit of the latter is that the whole page content is present in the source on page load (obviously better for your seo)
Apparently I can't post links so you'll have to google mootabs.
It uses the mootools library which provides really powerful tools for acessing and modifying the dom with js and css selectors - I use it all the time.
The Following 5 Users Say Thank You to yorkshiresource For This Useful Post:
Alvin (17-05-2008), Case (17-05-2008), jdpos (17-05-2008), tommy (17-05-2008), UKSBD (17-05-2008)
Thanks guys. I can't really find something that does what I want it too though. Unless I'm just looking at the wrong section. Also, I've decided that I only want the new div's to show on a mouseover. The links will take you to a new page.
Here, this might help show you what I'm trying to achieve...
...can't beat a good diagram.
All the text should display in the source code for seo purposes.
The div needs to be populated with the first set of text (so the page doesn't look blank in that div) and then you can scroll over the others to see them.