-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (39 loc) · 1.24 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
<!DOCTYPE html>
<html>
<head>
<title>ZoomDash</title>
<link href="stylesheets/ZoomDash.css" type="text/css" rel="stylesheet" />
<!--References-->
<script src="javascripts/knockout-2.2.1.js"></script>
<script src="javascripts/jquery-1.9.1.min.js"></script>
<script src="javascripts/jquery.zoomooz.min-1.1.9.js"></script>
<!--ZoomDash App-->
<script src="javascripts/ZoomDashVM.js"></script>
<!--Templates-->
<script type="text/html" id="ColorBlockTemplate">
<div style="height: 100%; width: 100%" data-bind="style: {backgroundColor: color}">
</div>
</script>
<script type="text/html" id="TextBlockTemplate">
<div style="height: 100%; width: 100%" data-bind="text: text">
</div>
</script>
<script type="text/html" id="IFramePanelTemplate">
<iframe class=".IFramePanel" scrolling="no" data-bind="attr: {src: URL}">
</iframe>
</script>
</head>
<body>
<div class="zoomViewport slideshowContainer">
<div class="zoomContainer" data-bind="foreach: PanelConfigs">
<div class="zoomTarget" data-bind="template: Type + 'Template'">
</div>
</div>
</div>
<script>
window.vm = new ZoomDashVM();
ko.applyBindings( window.vm );
$( window.vm.Start );
</script>
</body>
</html>