Skip to content

Instantly share code, notes, and snippets.

@marshally
Created March 31, 2011 20:56
Show Gist options
  • Save marshally/897238 to your computer and use it in GitHub Desktop.
Save marshally/897238 to your computer and use it in GitHub Desktop.
dotjs for adding the title text of Google's daily logo on the page
var logo = document.getElementById("hplogo");
var titleP = "<p style='text-align:center;font-variant:normal;padding:1em;border:1px solid black;background-color:#FFFFCC'>" + logo.title + "</p>";
footer = document.getElementById("footer");
footer.innerHTML = titleP + footer.innerHTML;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment