I have some elements with display:none; in the CSS and some jQuery that will fade them in on a delay.
How can I handle browsers that have javascript turned off? Is there some way of using <noscript> to change those elements display values?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you use modernizr, it will insert the class
jsinto your<html>tag (if Javascript is running of course), and by having the html structure proposed by HTML5 boilerpate:By default you will have
<html class="no-js">, and you could potentially have certain things (that you are worried about being exposed that normally JS hides) in your css to by default use it as a parent selector to hide it.