
Solid, safe website tools.
Whatever your need, Will Bontrager builds powerful software solutions.
|
(Get Attention Ticker for your web site)
How To Message Users with CSS Turned OffBy Will Bontrager Some web pages use CSS to such an extent that browsers with style sheets turned off render a real mess. If layers are used to display and hide content, or other DHTML is used, JavaScript must also be turned on in order to deliver the intended user experience. This snippet of code can remind users, when appropriate, that CSS and JavaScript must be turned on to use the web page. Put the above into your web page source code at the ideal location for the message. Change the message as appropriate. The way it works:When the page loads, the message is displayed. Also when the page loads, JavaScript hides the message. However, JavaScript can not hide the message if JavaScrpt is turned off or if style sheets are turned off. The message then remains visible. January 15, 2006 Please note: Articles on this website are presented "as is". However - If you have a question about a CGI script, HTML, CSS, PHP, or JavaScript
Rate this blog post.
No page reload! |
|
|
© 1998-2001 William and Mari Bontrager |
|