Stylesheet based on existence of Javascript
To help deal with those with Javascript disabled on their browsers:
<noscript>
<LINK REL="stylesheet" href="nojavascript.css">
</noscript>
<script language="JavaScript">
<!--
if (document.images){
document.write("<link rel='stylesheet' href='javascript.css'>");
}
//-->
</script>
This is helpful when using CSS properties like "display:none" and
"display:block" with JavaScript to hide Divs.

0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home