title: How to put scrolling text in title tag?
body: <p>I want to make text of title scrollable, I make the code as under it scrolls fine but the text I entered is displayed without space, meaning space in string is not considered.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      //function for tittle scrolling
      function scrlsts() {
          //var scrltest = " Nature ";
          scrltest=document.title;
  
          //alert(scrltest);
          scrltest = scrltest.substring(1, scrltest.length) + scrltest.substring(0, 1);
  
          //alert(scrltest);
          document.title = scrltest;
  
          setTimeout("scrlsts()", 1000);
      }
      $(document).ready(function() {
          var scrltest = " Nature dff ssfd ";
          document.title=scrltest;
          scrlsts();
      });
  &lt;/script&gt; 
  </code></pre>
  
  <p>Thanks in advance</p>