-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
144 lines (138 loc) · 4.28 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!doctype html>
<html>
<head>
<title>Bordeaux.js</title>
<meta charset="utf-8">
<link rel="stylesheet" href="vendor/reset.css">
<link rel="stylesheet" href="build/bordeaux.css">
<script src="vendor/underscore.js"></script>
<script src="vendor/jquery.js"></script>
<script src="vendor/backbone.js"></script>
<script src="vendor/image_preloader.js"></script>
<script src="vendor/jszip.js"></script>
<link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
<link href="http://c.mfcreative.com/css/v1/icon.css" rel="stylesheet" />
<script src="vendor/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="build/bordeaux.js"></script>
</head>
<body>
<div id="container">
<div id="header">
<div class="title">Bordeaux.js</div>
<ol class="links">
<li><a href="https://github.com/1000Memories/bordeaux.js", target="_blank">Github</a></li>
</ol>
</div>
<div id="subheader">
<div class="title">Create an interactive demo for your mobile app</div>
<ol class="hints">
<li class="icon iconCheck">Upload screenshots of your app</li>
<li class="icon iconCheck">Define click zones and transitions</li>
<li class="icon iconCheck">Export!</li>
</ol>
</div>
<div id="editor-view-wrap">
<ol id="editor-view"></ol>
<button class='add-step'>Add a step</button>
<button class='export'>Export</button>
</div>
<div id="phone-background" class="iphone4">
<div id="images-view">
<div class="image-container"></div>
</div>
</div>
</div>
<script>
$(function() {
var json = [
{
url: 'http://1000memories.github.io/bordeaux.js/images/screenshots/1.png',
animation: 'flip',
click: {
x: 215,
y: 440
}
},
{
url: 'http://1000memories.github.io/bordeaux.js/images/screenshots/2.png',
animation: 'fadeIn',
click: {
x: 300,
y: 25
}
},
{
url: 'http://1000memories.github.io/bordeaux.js/images/screenshots/3.png',
animation: 'slideToTop',
click: {
x: 150,
y: 410
}
},
{
url: 'http://1000memories.github.io/bordeaux.js/images/screenshots/4.png',
animation: 'slideToLeft',
click: {
x: 120,
y: 340
}
},
{
url: 'http://1000memories.github.io/bordeaux.js/images/screenshots/5.png',
animation: 'none',
click: {
x: 300,
y: 25
}
},
{
url: 'http://1000memories.github.io/bordeaux.js/images/screenshots/6.png',
animation: 'revealFromTop',
click: {
x: 310,
y: 415
}
},
{
url: 'http://1000memories.github.io/bordeaux.js/images/screenshots/7.png',
animation: 'fadeIn',
click: {
x: 131,
y: 307
}
},
{
url: 'http://1000memories.github.io/bordeaux.js/images/screenshots/8.png',
animation: 'none',
click: {
x: 300,
y: 25
}
},
{
url: 'http://1000memories.github.io/bordeaux.js/images/screenshots/9.png',
animation: 'fadeIn',
click: {
x: 300,
y: 25
}
},
{
url: 'http://1000memories.github.io/bordeaux.js/images/screenshots/10.png',
animation: 'fadeIn',
click: {
x: 300,
y: 25
}
}
];
Bordeaux.pageState = new Bordeaux.PageState({editable: true});
var images = new Bordeaux.Images(json);
new Bordeaux.ImagesEditorView({collection: images});
new Bordeaux.ImagesView({collection: images});
new Bordeaux.ExportView({collection: images});
});
</script>
</body>
</html>
<!-- rudy adler was here -->