forked from internetarchive/bookreader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathview_mode.html
42 lines (38 loc) · 1.6 KB
/
view_mode.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
<!DOCTYPE html>
<html>
<head>
<title>bookreader initial view mode demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- JS dependencies -->
<script src="../BookReader/jquery-1.10.1.js"></script>
<script src="../BookReader/jquery-ui-1.12.0.min.js"></script>
<script src="../BookReader/jquery.browser.min.js"></script>
<script src="../BookReader/dragscrollable-br.js"></script>
<script src="../BookReader/jquery.colorbox-min.js"></script>
<!-- BookReader and plugins -->
<link rel="stylesheet" href="../BookReader/BookReader.css"/>
<script src="../BookReader/BookReader.js"></script>
<!-- Custom CSS overrides -->
<link rel="stylesheet" href="BookReaderDemo.css"/>
</head>
<body>
<h1>Initial view mode set to 1up</h1>
<div id="BookReader">
Internet Archive BookReader Demo<br/>
<noscript>
<p>
The BookReader requires JavaScript to be enabled. Please check that your browser supports JavaScript and that it is enabled in the browser settings. You can also try one of the <a href="https://archive.org/details/goodytwoshoes00newyiala"> other formats of the book</a>.
</p>
</noscript>
</div>
<script type="text/javascript" src="BookReaderJSSimple.js"></script>
<script>
// Needs to be prefixed with 'mode/'. BookReader modes are: '1up', '2up',
// 'thumb'. BookReader defaults to 2up mode.
instantiateBookReader('#BookReader', {
defaults: 'mode/1up'
});
</script>
</body>
</html>