mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
Fixed included scripts in ie.html example
This commit is contained in:
parent
5cd94c986d
commit
5ffba8d89e
1 changed files with 12 additions and 27 deletions
|
@ -6,30 +6,15 @@
|
|||
<title>Basic ePubJS Example</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
|
||||
<script src="../libs/jquery-2.1.0.js"></script>
|
||||
<script src="../libs/underscore/underscore.js"></script>
|
||||
<script src="../libs/rsvp/rsvp.js"></script>
|
||||
<script src="../libs/fileStorage/fileStorage.js"></script>
|
||||
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
|
||||
<script src="../build/epub.js"></script>
|
||||
<script src="../build/libs/zip.min.js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
EPUBJS.filePath = "../reader/js/libs/";
|
||||
EPUBJS.cssPath = "../reader/css/";
|
||||
|
||||
</script>
|
||||
|
||||
<!-- FOR IE -->
|
||||
<script src="wgxpath.install.js"></script>
|
||||
<script src="../hooks/extensions/wgxpath.js"></script>
|
||||
<style type="text/css">
|
||||
|
||||
body {
|
||||
|
||||
|
||||
}
|
||||
|
||||
#main {
|
||||
|
@ -44,7 +29,7 @@
|
|||
height: 80%;
|
||||
margin: 5% auto;
|
||||
max-width: 1250px;
|
||||
|
||||
|
||||
}
|
||||
|
||||
#area iframe {
|
||||
|
@ -55,7 +40,7 @@
|
|||
left: 40px;
|
||||
}
|
||||
|
||||
#next {
|
||||
#next {
|
||||
right: 40px;
|
||||
}
|
||||
|
||||
|
@ -76,17 +61,17 @@
|
|||
.arrow:hover {
|
||||
color: #777;
|
||||
}
|
||||
|
||||
|
||||
.arrow:active {
|
||||
color: #000;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<script>
|
||||
"use strict";
|
||||
|
||||
window.book = ePub("../books/moby-dick/", {restore: true, reload: true });
|
||||
|
||||
|
||||
window.book = ePub("https://s3.amazonaws.com/moby-dick/", {restore: true, reload: true });
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -96,8 +81,8 @@
|
|||
<div id="next" onclick="book.nextPage();" class="arrow">›</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
<script>
|
||||
|
||||
book.renderTo("area");
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue