Skip to content

Instantly share code, notes, and snippets.

@aktowns
Created April 30, 2011 08:02
Show Gist options
  • Save aktowns/949525 to your computer and use it in GitHub Desktop.
Save aktowns/949525 to your computer and use it in GitHub Desktop.
javascript:i=0;setInterval(function(){i++;if(i==window.document.width){i=0;};document.getElementsByClassName('nyan-cat')[0].setAttribute("style","position: absolute; left:"+i+"px");},10);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment