How do I create a no-javascript url hash handler for my website?
- by Kenny Bones
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?