This repository has been archived by the owner on Nov 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
koda_3.html
83 lines (71 loc) · 4.31 KB
/
koda_3.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
79
80
81
82
83
<!DOCTYPE html>
<html xmlns:ng="http://angularjs.org/" >
<head>
<link rel="stylesheet" href="./css/koda3.css"></gs-step>
</head>
<body ng-app="kodaline" ng-controller="KodaController" >
<!--
On `zoom`, show the full details for the selected Tile/thumbnail
Note the use a resolve with `preload(selectedTile)`...
this is used to prefill the images before the animation STARTS.
-->
<gs-timeline id="zoom" time-scale="1.4" resolve="preload(selectedTile)" >
<gs-step target="#details" style="opacity:0;bounds:{{selectedTile.from}};" ></gs-step>
<gs-step target="#details" style="zIndex:92;display:block" ></gs-step>
<gs-step target="#details" style="opacity:1.0" duration="0.3" ></gs-step>
<gs-step mark-position="fullThumb" ></gs-step>
<gs-step target="#details" style="delay:0.2; left:0; height:{{selectedTile.to.height}}; width:329" duration="0.5" ></gs-step>
<gs-step mark-position="fullWidth"></gs-step>
<gs-step target="#mask" style="opacity:0.80" duration="0.5" position="fullWidth-=0.3"></gs-step>
<gs-step target="#details" style="opacity:1; top:18; height:512" duration="0.3" position="fullWidth+=0.1"></gs-step>
<gs-step mark-position="slideIn"></gs-step>
<gs-step target="#green_status" style="display:block;zIndex:91; opacity:1; top:21;" position="slideIn" ></gs-step>
<gs-step target="#green_status" style="top:1" duration="0.2" position="slideIn" ></gs-step>
<gs-step target="#details > #title" style="height:131" duration="0.6" position="fullWidth" ></gs-step>
<gs-step target="#details > #info" style="height:56" duration="0.5" position="fullWidth+=0.2"></gs-step>
<gs-step target="#details > #title > div.content" style="opacity:1.0" duration="0.8" position="fullWidth+=0.3"></gs-step>
<gs-step target="#details > #info > div.content" style="opacity:1" duration="0.4" position="fullWidth+=0.6"></gs-step>
<gs-step target="#details > #pause" style="opacity:1; scale:1.0" duration="0.4" position="fullWidth+=0.4"></gs-step>
</gs-timeline>
<div id="stage" gs-scale >
<!-- Tile Grid View -->
<div id="status" class="status"></div>
<div id="header"></div>
<div ng-repeat="tile in allTiles"
class="{{tile.className}}"
ng-click="showDetails(tile, $event)" >
</div>
<div id="other"></div>
<div id="footer"></div>
<!-- Tile Grid Mask -->
<div id="mask"></div>
<!-- Tile Details View -->
<div id="green_status"></div>
<div id="details" >
<img src="" class="scaled">
<div id="title" >
<div class="content"></div>
</div>
<div id="info" >
<div class="content"></div>
</div>
<div id="pause">
<img src="http://solutionoptimist-bucket.s3.amazonaws.com/kodaline/pause.png" class="pause">
</div>
</div>
<div class="hidden">
<img id="backgroundLoader" ></gs-step>
</div>
</div>
<!--<script src="//cdnjs.cloudflare.com/ajax/libs/q.js/1.1.2/q.js"></script>-->
<!--<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>-->
<!--<script src="//cdnjs.cloudflare.com/ajax/libs/gsap/1.14.2/TweenMax.js"></script>-->
<!--<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.5/angular.js"></script>-->
<script src="../libs/jquery/2.1.1/jquery.js"></script>
<script src="../libs/gsap/1.14.2/TweenMax.js"></script>
<script src="../libs/angularjs/1.3.5/angular.js"></script>
<script type="text/javascript" src="../libs/angularjs-gsap/supplant.js"></script>
<script type="text/javascript" src="../libs/angularjs-gsap/timelines.js"></script>
<script type="text/javascript" src="./js/koda_3.js"></script>
</body>
</html>