Created
May 9, 2011 21:44
-
-
Save jtamboli/963482 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<title>Loading</title> | |
<meta name="generator" content="BBEdit 9.5"> | |
<script type="text/javascript"><!-- | |
function LoadRemoteWeb() | |
{ | |
location.href = 'http://m.flickr.com/#/photos/talkradionews/'; | |
} | |
function LoadLocalWeb() | |
{ | |
location.href = 'flickrOffline.html'; | |
} | |
function checkOnline() { | |
if (navigator.onLine) { | |
LoadRemoteWeb(); | |
} else { | |
LoadLocalWeb() | |
} | |
} | |
checkOnline(); | |
// --></script> | |
</head> | |
<body> | |
Please wait… | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment