Created
March 31, 2011 20:56
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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