How do I create a no-javascript url hash handler for my website?

Posted by Kenny Bones on Stack Overflow See other posts from Stack Overflow or by Kenny Bones
Published on 2010-04-18T19:55:48Z Indexed on 2010/04/18 20:03 UTC
Read the original article Hit count: 128

Filed under:
|
|

Ok, I'm not sure how this is normally done. But I've got a script that basically empties a div of content and then loads content from a div from a separate webpage, without reloading the current page. This works great.

It's taken from this example actually, from net tuts (great site btw)

http://nettuts.s3.amazonaws.com/011_jQuerySite/sample/index.html

And the guy who wrote this even though about handling the url's since the url don't change when using his method. So he wrote a javascript snippet that looks up the url and loads the content accoringly. Which is not working btw.

But I was thinking about people who don't have javascript enabled, or iPhone and iPad users ;) Copying URLs and sending to a friend won't work at all. So how is this typically done? And can it be done without javascript? Possibly by php?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html