-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmultiple.html
More file actions
70 lines (59 loc) · 1.75 KB
/
multiple.html
File metadata and controls
70 lines (59 loc) · 1.75 KB
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
<!DOCTYPE html>
<html>
<head>
<script src='js/jquery-2.1.1.min.js' type='text/javascript'></script>
<script src='js/presentation.js' type='text/javascript'></script>
<link href='css/main.css' rel='stylesheet' media='all'>
<title>Title of the document</title>
</head>
<body>
<div class='absolute-center' style='width: 60%'>
<div class='center-container'>
<div style='float: left; padding-right: 10px;'>
<div class='main-container' id='main-container-1'>
</div>
<div class='navigation'>
<a href='#' id='prev' onclick='presentation_1.prev()'>prev</a>
<a href='#' id='next' onclick='presentation_1.next()'>next</a>
<span id='navigation-info-1'></span>
</div>
</div>
<div>
<div>
<div class='main-container' id='main-container-2'>
</div>
<div class='navigation'>
<a href='#' id='prev' onclick='presentation_2.prev()'>prev</a>
<a href='#' id='next' onclick='presentation_2.next()'>next</a>
<span id='navigation-info-2'></span>
</div>
</div>
<div>
</div>
<script type='text/javascript'>
var slides_1 = [
{src: 'presentations/1/1.jpg'},
{src: 'presentations/1/2.jpg'},
{src: 'presentations/1/3.jpg'}
]
var presentation_1 = new Presentation({
slides: slides_1,
navigation_container: 'navigation-info-1',
main_container: 'main-container-1',
id: 1});
presentation_1.draw();
var slides_2 = [
{src: 'presentations/2/1.jpg'},
{src: 'presentations/2/2.jpg'},
{src: 'presentations/2/3.jpg'},
{src: 'presentations/2/4.jpg'}
]
var presentation_2 = new Presentation({
slides: slides_2,
navigation_container: 'navigation-info-2',
main_container: 'main-container-2',
id: 2});
presentation_2.draw();
</script>
</body>
</html>