The essential parts of the markup are:
<body> <!-- ... --> <script type="text/javascript" src="dual_presentation.js"> </script> <noscript> This is the text that users <em>without</em> Javascript will see. </noscript> <!-- ... --> </body>
If JS is understood by the browser
then the
<script type="text/javascript" ...></script>
is run.
The file it loads contains document.writeln
statements.
Those statements create virtual markup that the browser writes into a
buffer and then reads as though they had appeared in place of the
<script> ... </script>
.
But if JS is not understood by the browser then the
browser presents the markup in the noscript
container instead.
type="text/javascript"
in the
script
necessary?
script
element has an open and close
tag (but never any contents)?
Where did that annoying dialogue box come from?