I want to display an HTML object (#footer) when the user is using Internet Explorer 8 or below or they have JavaScript disabled (or both).
How can I do this?
I hope you can understand my question and what I am trying to describe.
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.
You could have the footer’s
displayCSS property set toblock(or whatever you need it as) by default and use Javascript to hide it. If Javascript is disabled it won’t be hidden. If Javascript is enabled, it would be hidden.This line would hide it successfully (if Javascript is enabled, that is).