GezH
Programmer
- Aug 7, 2002
- 68
Hello all. Not sure if this should go in the CSS or JavaScript forum - it's a bit of both!
What I want to do is to have a block of HTML which is only displayed when javascript is enabled on the browser. So, I think the HTML should be enclosed in a div, which calls a CSS class that hides it by default. Then, when the page loads, a JavaScript call changes the div to be shown.
I hope that makes sense. I think I have the right idea, but I'm just not sure how to implement it. Any help very gratefully received!
Thanks.
What I want to do is to have a block of HTML which is only displayed when javascript is enabled on the browser. So, I think the HTML should be enclosed in a div, which calls a CSS class that hides it by default. Then, when the page loads, a JavaScript call changes the div to be shown.
I hope that makes sense. I think I have the right idea, but I'm just not sure how to implement it. Any help very gratefully received!
Thanks.