Created
April 19, 2012 19:04
-
-
Save fling/2423162 to your computer and use it in GitHub Desktop.
This file contains 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
<script> | |
window.onload = function(){ setTimeout(function() { window.scrollTo(0,0); },500); }; | |
window.onorientationchange = function(){ setTimeout( function() { window.scrollTo(0,0); },100); }; | |
</script> | |
<script type="text/javascript"> | |
function load() { | |
if (navigator.userAgent.match(/OS 5(_\d)+ like Mac OS X/i)) { document.body.className+=" ios5" } | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment