Forum Moderators: open
The site I've developed requires JavaScript - while I do plan to provide a plain interface later on, for right now Javascript is required to use the site in any way. My quesion is, how do I display a nice message to a user with JavaScript disabled? Ideally, I'd like the page to just contain a message "JavaScript required, please enable it or upgrade your browser", without any other content since it's useless without javascript. The <noscript> tag, however, allows me to display the message, but I can't seem to exclude all the other interface content which won't work without JavaScript.
Google Maps does pretty much exactly what I want, but they use JavaScript to render all the other content on the page, which has issues with search engines. I've toyed with the idea of using a meta redirect within a <noscript> tag, but that would seem to make the site invisible to search engines - the home page and all the links on it won't be crawled since the crawler sees the <noscript> tag.
Is there some sort of a conditional that I can use, while keeping the site crawlable? I guess a redirect will work, as long as the page it redirects to includes all the content links and is browsable, but I'd like a cleaner way, if possible.
Thanks.
Here's what I would do:
Make the message div (or whatever it is that has the message about JS being required) hidden using CSS. Then, you can always use the <noscript> tag to load other styles that will:
1) make the message div visible
2) hide any JS content (or other elements that you don't want visible)