I have a large, dynamically generated, single page website that heavily relies on javascript. I want to have a fallback for people without javascript.
Each version must have different php code, so basically I need an entirely different index page. I dont want to wrap EVERYTHING in javascript, and EVERYTHING ELSE in tags. Unless there is an easy way of doing that.
What is the best way to load one page or the other depending on whether javascript is enabled or not?