-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmultiple.html
More file actions
126 lines (116 loc) · 3.42 KB
/
multiple.html
File metadata and controls
126 lines (116 loc) · 3.42 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
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<!-- build:css styles.min.css -->
<link rel="stylesheet" href="dist/styles.css"/>
<!-- /build -->
<link href="https://fonts.googleapis.com/css?family=Roboto:400,400i,500,500i" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=1">
<style>
* {
margin: 0;
padding: 0;
}
.ajs-pdf-viewer {
position: relative;
min-height: 200px;
}
</style>
</head>
<body>
<div class="ajs-pdf-viewer">
<div class="swiper-lazy-preloader"></div>
</div>
<div class="ajs-pdf-viewer_2">
<div class="swiper-lazy-preloader"></div>
</div>
<!-- build:js bundle.min.js -->
<script src="dist/bundle.js"></script>
<!-- /build -->
<script>
window.ajsViewer = new PDFViewer({
id: 'viewer_1',
target: '.ajs-pdf-viewer',
buttons: {
closeContents: {
icoClass: 'apdf-icon-close-contents'
},
allCatalogs: {
txt: 'All Catalogs',
linkClass: 'apdf-header-link',
icoClass: 'apdf-icon-all-catalogs',
url: '#1'
},
viewContent: {
txt: 'View Contents',
linkClass: 'apdf-header-link',
icoClass: 'apdf-icon-view-contents'
},
zoom: {
txt: 'Zoom',
linkClass: 'apdf-header-link',
icoClass: 'apdf-icon-zoom-in',
icoClassOut: 'apdf-icon-zoom-out'
},
download: {
txt: 'Download',
linkClass: 'apdf-header-link',
icoClass: 'apdf-icon-download',
url: '#2'
}
}
});
window.ajsViewer2 = new PDFViewer({
id: 'viewer_2',
target: '.ajs-pdf-viewer_2',
carousel: {
nextButton: '.ajs-swiper-next-',
prevButton: '.ajs-swiper-prev-',
speed: 300,
slidesPerView: 1,
paginationClickable: true,
spaceBetween: 30,
loop: false,
hashnav: false,
hashnavWatchState: false,
preloadImages: false,
lazyLoading: true,
lazyLoadingInPrevNext: true,
lazyLoadingInPrevNextAmount: 1,
lazyLoadingOnTransitionStart: true,
simulateTouch: false
},
buttons: {
closeContents: {
icoClass: 'apdf-icon-close-contents'
},
allCatalogs: {
txt: 'All Catalogs',
linkClass: 'apdf-header-link',
icoClass: 'apdf-icon-all-catalogs',
url: '#1'
},
viewContent: {
txt: 'View Contents',
linkClass: 'apdf-header-link',
icoClass: 'apdf-icon-view-contents'
},
zoom: {
txt: 'Zoom',
linkClass: 'apdf-header-link',
icoClass: 'apdf-icon-zoom-in',
icoClassOut: 'apdf-icon-zoom-out'
},
download: {
txt: 'Download',
linkClass: 'apdf-header-link',
icoClass: 'apdf-icon-download',
url: '#2'
}
}
});
</script>
</body>
</html>