This is a migrated thread and some comments may be shown as answers.

Content not visible if JavaScript is disabled

1 Answer 110 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ray Bezuidenhout
Top achievements
Rank 1
Ray Bezuidenhout asked on 05 Mar 2011, 08:11 PM
I am working on a pure Telerik site based on the Webmail demo (http://demos.telerik.com/aspnet-ajax/webmail/).  I have however noticed that almost none of the page content is rendered on the page if JavaScript is disabled in the browser.

Referring to the Webmail demo code, what is needed to make some content visible even if it is only possible to render a "noscript" element with a message to the user?

Thanks,
Ray

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 09 Mar 2011, 02:56 PM
Hello Ray,

Indeed with javascript disabled in the browser you can use noscript tag to output some user-friendly content and notify the end users that for richer UI they need to enable javascript. This holds true for the WebMail ajax demo application, too.

Here are a couple of posts on stackoverflow which elaborate on this subject - you can find them useful:
http://stackoverflow.com/questions/1431137/how-to-wrap-noscript-tag-to-hide-content-when-javascript-disable
http://stackoverflow.com/questions/993387/noscript-tag-javascript-disabled-warning-and-google-penalty

Greetings,
Sebastian
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
General Discussions
Asked by
Ray Bezuidenhout
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or