Scrolling text in javascript using window.status and setInterval() not working, any ideas?
<p>This was a simple exercise with all code given but for some reason it fails to work. Any ideas? Rather than change code around, I am curious why it is not working as this is directly out of the book Javascript 4thed/Gosselin.</p>

<pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;title&gt;Scrolling Text&lt;/title&gt;
&lt;meta http-equiv="content-type"
content="text/html; charset=iso-8859-1" /&gt;
&lt;script type="text/javascript"&gt;
/* &lt;![CDATA[ */
window.status = "Elvis has left the building ... ";
function scrollStatusBar() {
    var message = window.status;
    window.status = message.substring(1) 
    + message.substring(0, 1);
}
/* ]]&gt; */
&lt;/script&gt;
&lt;/head&gt;
&lt;body onload="setInterval('scrollStatusBar()', 100)"&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
