Skip to content

Instantly share code, notes, and snippets.

@anunay
Created September 22, 2013 16:42
Show Gist options
  • Save anunay/6661679 to your computer and use it in GitHub Desktop.
Save anunay/6661679 to your computer and use it in GitHub Desktop.
Javascript: Status Scroller
<script type="text/javascript">
var message = "Scroller text goes here";
var space = "";
var i = 0;
function scroller(){
if(i < 100){
space += " ";
}
window.status = space + message;
}
window.setTimeout("scroller()",1000);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment