Skip to content

Instantly share code, notes, and snippets.

@laser
Created October 28, 2013 05:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laser/7191999 to your computer and use it in GitHub Desktop.
Save laser/7191999 to your computer and use it in GitHub Desktop.
function changeHeaderDeferred() {
var header = document.getElementById("header");
setTimeout(function changeHeader() {
header.style.color = "red";
return false;
}, 100);
return false;
}
changeHeaderDeferred();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment