topical media & game development
#javascript-code-16-nocss.htm / htm
<html>
<head>
<!—The instant the script is run, a new class is attached to the <html> element
giving us the ability to know if Javascript is enabled, or not.-->
<script>document.documentElement.className = “js”;</script>
<!—If Javascript is enabled, hide the block of text, which we will fade in later.-->
<style>.js #fadein { display: none }</style>
</head>
<body>
<div id=”fadein”>Block of stuff to fade in…</div>
</body>
</html>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.