/
index.html
283 lines (251 loc) · 13.2 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
<!DOCTYPE html>
<html data-type="example" data-id="panorama-click-free">
<head>
<title>jQuery Reel Orientable Stitched Panorama Example</title>
<meta charset='utf-8' content='text/html' http-equiv='Content-type' />
<script src='http://code.jquery.com/jquery-1.9.1.min.js' type='text/javascript'></script>
<script src='../../jquery.reel.js' type='text/javascript'></script>
<!-- Common examples style (gray background, thin fonts etc.) -->
<link href="../style.css" rel="stylesheet" type="text/css" />
<style>
#image-reel{ font-size: 85%; }
#image-reel .reel-annotation { color: #6a7587; white-space: nowrap; font-weight: bold; font-size: 108%; color: #6a7587; cursor: help; }
#image-reel a.reel-annotation { color: #6a7587; }
#image-reel .far.reel-annotation { font-size: 85%; color: #a3b4bc; }
#image-reel a.far.reel-annotation { color: #a3b4bc; }
#image-reel .near.reel-annotation { font-size: 163%; color: #fff5de; }
#image-reel a.near.reel-annotation { color: #fff5de; }
#image-reel .title.reel-annotation { font-size: 85%; color: white; }
#image-reel a.title.reel-annotation { color: white; }
#image-reel .headline.reel-annotation { font-size: 280%; opacity: 0.5; color: white; cursor: inherit; }
#image-reel a.headline.reel-annotation { color: white; }
</style>
</head>
<body>
<a href="../index.html">Examples</a> ‹
<h1>Orientable Stitched Panorama</h1>
<p>You can rotate this panorama with your gyroscope sensor on a compatible device.</p>
<p class="credits photo"><a href="http://www.flickr.com/people/59683764@N00">Henning Leweke</a> (cc)</p>
<img src="outlook.jpg" width="590" height="150"
class="reel"
id="image"
data-image="outlook-reel.jpg"
data-orientable="true"
data-stitched="1652">
<span class="reel-annotation headline"
id="headline"
data-x="160"
data-y="50"
data-for="image">
Moro Rock Lookout
</span>
<a class="reel-annotation title"
id="title"
href="https://maps.google.com/maps?ll=36.543225,-118.764481&spn=0.01,0.01&t=p&q=36.543225,-118.764481"
data-x="160"
data-y="86"
data-for="image">
1 Way Rd, Giant Sequoia National Park, CA
</a>
<a class="reel-annotation"
id="panther_peak"
href="http://www.mapquest.com/maps?name=Panther%20Peak&city=Sequoia%20National%20Park&state=CA"
data-x="260"
data-y="3"
data-for="image">
Panther Peak
</a>
<a class="reel-annotation far"
id="mount_silliman"
href="http://www.panoramio.com/photo/52847295"
data-x="400"
data-y="2"
data-for="image">
Mount Silliman
</a>
<span class="reel-annotation far"
id="castle_rocks"
data-x="700"
data-y="9"
data-for="image">
Castle Rocks
</span>
<a class="reel-annotation near"
id="moro_rock"
href="http://commons.wikimedia.org/wiki/File:Panorama_360_view_from_Moro_Rock_-_Giant_Sequoia_National_Park_-_California_USA_(2002).jpg"
data-x="795"
data-y="60"
data-for="image">
Moro Rock
</a>
<span class="reel-annotation"
id="ash_peaks_ridge"
data-x="1250"
data-y="40"
data-for="image">
Ash Peaks Ridge
</span>
<a class="reel-annotation"
id="milk_ranch_peak"
href="http://travelingluck.com/North%20America/United%20States/California/_5372983_Milk%20Ranch%20Peak.html"
data-x="970"
data-y="30"
data-for="image">
Milk Ranch Peak
</a>
<script>
$(function(){ // when DOM ready
return;
$('#image').reel({
stitched: 1652,
orientable: true,
annotations: {
moro_rock: { x: 795, y: 60, link: { 'class': 'external near', text: 'Moro Rock', href: 'http://commons.wikimedia.org/wiki/File:Panorama_360_view_from_Moro_Rock_-_Giant_Sequoia_National_Park_-_California_USA_(2002).jpg' } },
ash_peaks_ridge: { x: 1250, y: 40, node: { text: 'Ash Peaks Ridge' } },
milk_ranch_peak: { x: 970, y: 30, link: { 'class': 'external', text: 'Milk Ranch Peak', href: 'http://travelingluck.com/North%20America/United%20States/California/_5372983_Milk%20Ranch%20Peak.html' } }
}
});
});
</script>
<!-- Or Javascript alternative:
<img id="image" src='outlook.jpg' width="590" height="150" />
<script>
$('#image').reel({
stitched: 1652,
orientable: true,
annotations: {
"headline": {
x: 160,
y: 50,
node: { 'class': 'headline', text: 'Moro Rock Lookout' }
},
"title": {
x: 160,
y: 86,
link: { 'class': 'external title', text: '1 Way Rd, Giant Sequoia National Park, CA',
href: 'https://maps.google.com/maps?ll=36.543225,-118.764481&spn=0.01,0.01&t=p&q=36.543225,-118.764481' }
},
"panther_peak": {
x: 260,
y: 3,
link: { 'class': 'external', text: 'Panther Peak',
href: 'http://www.mapquest.com/maps?name=Panther%20Peak&city=Sequoia%20National%20Park&state=CA' }
},
"mount_silliman": {
x: 400,
y: 2,
link: { 'class': 'far', text: 'Mount Silliman',
href: 'http://www.panoramio.com/photo/52847295' }
},
"castle_rocks": {
x: 700,
y: 9,
node: { text: 'Castle Rocks' }
},
"moro_rock": {
x: 795,
y: 60,
link: { 'class': 'external near', text: 'Moro Rock',
href: 'http://commons.wikimedia.org/wiki/File:Panorama_360_view_from_Moro_Rock_-_Giant_Sequoia_National_Park_-_California_USA_(2002).jpg' }
},
"ash_peaks_ridge": {
x: 1250,
y: 40,
node: { text: 'Ash Peaks Ridge' }
},
"milk_ranch_peak": {
x: 970,
y: 30,
link: { 'class': 'external', text: 'Milk Ranch Peak',
href: 'http://travelingluck.com/North%20America/United%20States/California/_5372983_Milk%20Ranch%20Peak.html' }
}
}
});
</script>
-->
<!--
Everything you might need to make Reel is above this line.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Everything below this line is only here to make the example display illustratively
with pretty source code, indicators, ... So you do NOT need any of it.
-->
<pre>
<img src=<strong>"<a href="outlook.jpg">outlook.jpg</a>"</strong> width=<strong>"590"</strong> height=<strong>"150"</strong>
<a href="http://reel360.org/reel#class">class</a>=<strong>"reel"</strong>
<a href="http://reel360.org/reel#id">id</a>=<strong>"image"</strong>
data-<a href="http://reel360.org/reel#image">image</a>=<strong>"<a href="outlook-reel.jpg">outlook-reel.jpg</a>"</strong>
data-<a href="http://reel360.org/reel#stitched">stitched</a>=<strong>"1652"</strong>
data-<a href="http://reel360.org/reel#orientable">orientable</a>=<strong>"true"</strong>></pre>
<p>
And the many <a href="http://github.com/pisi/Reel/wiki/Annotations">annotations</a>:
</p>
<pre>
<span <a href="http://reel360.org/reel#annotation-class">class</a>=<strong>"reel-annotation headline"</strong>
<a href="http://reel360.org/reel#annotation-id">id</a>=<strong>"headline"</strong>
data-<a href="http://reel360.org/reel#annotation-x">x</a>=<strong>"160"</strong>
data-<a href="http://reel360.org/reel#annotation-y">y</a>=<strong>"50"</strong>
data-<a href="http://reel360.org/reel#annotation-for">for</a>=<strong>"image"</strong>>
<em><em>Moro Rock Lookout</em></em>
</span>
<a <a href="http://reel360.org/reel#annotation-class">class</a>=<strong>"reel-annotation title"</strong>
<a href="http://reel360.org/reel#annotation-href">href</a>=<strong>"https://maps.google.com/maps?ll=36.543225,-118.764481..."</strong>
<a href="http://reel360.org/reel#annotation-id">id</a>=<strong>"title"</strong>
data-<a href="http://reel360.org/reel#annotation-x">x</a>=<strong>"160"</strong>
data-<a href="http://reel360.org/reel#annotation-y">y</a>=<strong>"86"</strong>
data-<a href="http://reel360.org/reel#annotation-for">for</a>=<strong>"image"</strong>>
<em><em>1 Way Rd, Giant Sequoia National Park, CA</em></em>
</a>
<a <a href="http://reel360.org/reel#annotation-class">class</a>=<strong>"reel-annotation"</strong>
<a href="http://reel360.org/reel#annotation-href">href</a>=<strong>"http://www.mapquest.com/maps?name=Panther%20Peak..."</strong>
<a href="http://reel360.org/reel#annotation-id">id</a>=<strong>"panther_peak"</strong>
data-<a href="http://reel360.org/reel#annotation-x">x</a>=<strong>"260"</strong>
data-<a href="http://reel360.org/reel#annotation-y">y</a>=<strong>"3"</strong>
data-<a href="http://reel360.org/reel#annotation-for">for</a>=<strong>"image"</strong>>
<em><em>Panther Peak</em></em>
</a>
<a <a href="http://reel360.org/reel#annotation-class">class</a>=<strong>"reel-annotation title"</strong>
<a href="http://reel360.org/reel#annotation-href">href</a>=<strong>"http://www.panoramio.com/photo/52847295"</strong>
<a href="http://reel360.org/reel#annotation-id">id</a>=<strong>"mount_silliman"</strong>
data-<a href="http://reel360.org/reel#annotation-x">x</a>=<strong>"400"</strong>
data-<a href="http://reel360.org/reel#annotation-y">y</a>=<strong>"2"</strong>
data-<a href="http://reel360.org/reel#annotation-for">for</a>=<strong>"image"</strong>>
<em><em>Mount Silliman</em></em>
</a>
<span <a href="http://reel360.org/reel#annotation-class">class</a>=<strong>"reel-annotation far"</strong>
<a href="http://reel360.org/reel#annotation-id">id</a>=<strong>"castle_rocks"</strong>
data-<a href="http://reel360.org/reel#annotation-x">x</a>=<strong>"700"</strong>
data-<a href="http://reel360.org/reel#annotation-y">y</a>=<strong>"9"</strong>
data-<a href="http://reel360.org/reel#annotation-for">for</a>=<strong>"image"</strong>>
<em><em>Castle Rocks</em></em>
</span>
<a <a href="http://reel360.org/reel#annotation-class">class</a>=<strong>"reel-annotation near"</strong>
<a href="http://reel360.org/reel#annotation-href">href</a>=<strong>"http://commons.wikimedia.org/wiki/File:Panorama..."</strong>
<a href="http://reel360.org/reel#annotation-id">id</a>=<strong>"moro_rock"</strong>
data-<a href="http://reel360.org/reel#annotation-x">x</a>=<strong>"795"</strong>
data-<a href="http://reel360.org/reel#annotation-y">y</a>=<strong>"60"</strong>
data-<a href="http://reel360.org/reel#annotation-for">for</a>=<strong>"image"</strong>>
<em><em>Moro Rock</em></em>
</a>
<span <a href="http://reel360.org/reel#annotation-class">class</a>=<strong>"reel-annotation"</strong>
<a href="http://reel360.org/reel#annotation-id">id</a>=<strong>"ash_peaks_ridge"</strong>
data-<a href="http://reel360.org/reel#annotation-x">x</a>=<strong>"1250"</strong>
data-<a href="http://reel360.org/reel#annotation-y">y</a>=<strong>"40"</strong>
data-<a href="http://reel360.org/reel#annotation-for">for</a>=<strong>"image"</strong>>
<em><em>Ash Peaks Ridge</em></em>
</span>
<a <a href="http://reel360.org/reel#annotation-class">class</a>=<strong>"reel-annotation"</strong>
<a href="http://reel360.org/reel#annotation-href">href</a>=<strong>"http://travelingluck.com/North%20America/United..."</strong>
<a href="http://reel360.org/reel#annotation-id">id</a>=<strong>"milk_ranch_peak"</strong>
data-<a href="http://reel360.org/reel#annotation-x">x</a>=<strong>"970"</strong>
data-<a href="http://reel360.org/reel#annotation-y">y</a>=<strong>"30"</strong>
data-<a href="http://reel360.org/reel#annotation-for">for</a>=<strong>"image"</strong>>
<em><em>Milk Ranch Peak</em></em>
</a></pre>
<!-- Following script line only enables in-picture indicators. To remove them simply delete it. -->
<script> $.reel.def.indicator = 5; </script>
<div class="ballast">
<p>Some text ballast to make the page positively scroll-worthy for testing purposes.</p>
<p><a href="http://en.wikipedia.org/wiki/Lorem_Ipsum">Lorem ipsum</a> dolor sit amet, consectetur adipiscing elit. Sed rutrum semper imperdiet. Integer non auctor orci. Nullam dictum pretium metus, interdum congue sapien lobortis in. Donec sed massa a tellus dapibus auctor et in mauris. Curabitur adipiscing fermentum felis vel molestie. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Ut semper sem ut nulla fringilla luctus. Curabitur dignissim quam ac libero consequat tincidunt. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In hac habitasse platea dictumst. Nunc sed lectus eget magna suscipit tempor eget id nibh.</p>
</div>
</body>
</html>