Created
January 8, 2013 09:34
-
-
Save baranga/4482475 to your computer and use it in GitHub Desktop.
Revisions
-
baranga created this gist
Jan 8, 2013 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>location hash test</title> </head> <body> <h1>location hash test</h1> <dl> <dt>hash</dt> <dd><code id="hashOutput"></code></dd> </dl> <script> var hash = window.location.hash || location.hash, output = document.getElementById('hashOutput'); output.innerHTML = hash; </script> </body> </html>