A: 

See Tabtastic

In a nutshell, link to the id of the element you want to go to, and don't hide the content if JS isn't available.

David Dorward
I don't hide the content if JS isn't available. Each link just works like the old fashioned way. It's just the linking and URL handling I'm having trouble with. So basically, you're saying I should link to the element I want to go to? Is there an easier way of doing that without having to load several scripts? Don't think I quite understand how this is done. I'll edit my first post to include some code I'm using.
Kenny Bones
A: 

You can't access the hash-part of the URL through PHP. You can only access that from the browser.

However, you could just change the code to using a normal GET query string instead. So put whatever you put behind the # symbol, behind ?hash= in the URL instead and work with it that way.

arnorhs
Hmm, so I've read some about these rewrite engines. Is this what I'm basically looking for?
Kenny Bones