forked from chrispiech/Elimu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
learn.html
56 lines (48 loc) · 1.61 KB
/
learn.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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Learn to Program</title>
<script src="./js/html/websiteImports.js"></script>
<script>importCss();</script>
<script>importJs();</script>
<script src="./lib/analytics.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-25118186-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol
? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<script>importWebsiteHeader('learn.html');</script>
<div id ='content' class="learn">
<div id ='headerDiv'></div>
<div id ='centerAreaDiv'></div>
<div id ='progressBarDiv'></div>
</div>
<script>
function init() {
var learnEngine = null;
window.onload = function() {
initTabs();
learnEngine = KarelLearnEngine();
window.onhashchange = learnEngine.onHashChange;
window.onresize();
$("[title]").tooltip({ position: "bottom center", opacity: 0.9});
}
window.onresize = function(){
if(learnEngine)learnEngine.onWindowResize();
ReferenceDialog.resize();
}
}
init();
</script>
</body>
</html>