-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
78 lines (72 loc) · 3.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<html manifest="cache.manifest">
<head>
<meta name="http-equiv" content="Content-type:text/html; charset=utf-8"/>
<title>
iSite Mobile Demo
</title>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="viewport" content="width=device-width, maximum-scale=1.0" />
<link type="text/css" rel="stylesheet" href="./style/ios.css">
<link type="text/css" rel="stylesheet" href="./style/ipad.css">
<link type="text/css" rel="stylesheet" href="./style/ipad-landscape.css">
<link type="text/css" rel="stylesheet" href="./style/ipad-portrait.css">
<link type="text/css" rel="stylesheet" href="./style/iphone.css">
<link type="text/css" rel="stylesheet" href="./style/iphone-landscape.css">
<link type="text/css" rel="stylesheet" href="./style/iphone-portrait.css">
<!--<link type="text/css" rel="stylesheet" href="./style/glossy-black.css">-->
<script type="application/javascript" src="./script/ios.js"></script>
<script type="application/javascript" src="./script/iscroll.js"></script>
<script type="application/javascript" src="./script/utility.js"></script>
<script type="application/javascript" src="./script/twitterStream.js"></script>
<script type="application/javascript" src="./script/gplusStream.js"></script>
<script type="application/javascript" src="./script/podcastList.js"></script>
</head>
<body class="ipad landscape" id="pnlBody" ontouchmove="BlockMove(event);">
<div class="panel" id="menuPanel">
<div class="navBar" id="navMainArea">
<span id="navMenuTitle">Menu</span>
</div>
<div class="container" id="pnlMainArea">
<div class="content" id="menuMain">
<!-- replaced at startup -->
</div>
</div>
</div>
<div class="panel" id="bodyPanel">
<div class="navBar" id="navBodyArea">
<div id="navTitleArea">
<span id="navSiteTitle">Site Title</span><span id="navSiteBullet"> • </span><span id="navBodyTitle">Home</span>
</div>
<a id="btnBack" href="javascript:loadContent (returnTo.pop(), updateMainMenu, 'slideBack')" class="button back black"><span></span>Back</a>
<a id="btnMenu" href="javascript:toggleMenu ()" class="button black">Menu</a>
</div>
<div class="container" id="pnlBodyArea">
<!-- this to be replaced by content at startup -->
</div>
</div>
<div id="loader">
<div>
Please Wait...<br>
<img src="./images/ajax-loader.gif" alt="Loading"/>
</div>
</div>
<script>
//
// check our cache, and if necessary reload the site.
// from: http://www.html5rocks.com/en/mobile/mobifying.html
window.applicationCache.addEventListener('updateready', function(e) {
if (window.applicationCache.status == window.applicationCache.UPDATEREADY) {
window.applicationCache.swapCache();
console.log ('Cache needs changed, Reloading...');
window.location.reload();
}
}, false);
// startup variables
var mySiteName = "iSite Mobile Demo";
var myMenuName = "iSite Mobile";
var myStartPage = "./home.html";
var myStartName = "Home";
startApp( ); // tell our app to start
</script>
</body>
</html>