1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-05 15:32:55 +02:00

fixed jquery path for hypothesis example, updated fixed example

This commit is contained in:
fchasen 2015-10-19 09:22:41 -04:00
parent f5f71977ae
commit f798b7c368
3 changed files with 21 additions and 24 deletions

2
books

@ -1 +1 @@
Subproject commit 8d6c46ef23ca637d89e66b18b2146ccef93c1ac4
Subproject commit e9790315c2510315e270a7a4c4921825e9918039

View file

@ -22,24 +22,25 @@
}
#wrapper {
width: 480px;
width: 440px;
height: 640px;
overflow: hidden;
border: 1px solid #ccc;
margin: 20px auto;
padding: 20px 20px;
background: #fff;
border-radius: 0 5px 5px 0;
}
#area {
width: 480px;
height: 640px;
margin: 0 auto;
-moz-box-shadow: inset 10px 0 20px rgba(0,0,0,.1);
-webkit-box-shadow: inset 10px 0 20px rgba(0,0,0,.1);
box-shadow: inset 10px 0 20px rgba(0,0,0,.1);
}
#area {
width: 400px;
height: 600px;
margin: 0 auto;
}
</style>
@ -47,10 +48,8 @@
"use strict";
var Book = ePub("../reader/moby-dick/", {
width: 480,
height: 645,
spreads : false,
fixedLayout : true
width: 400,
height: 600
});
@ -67,9 +66,7 @@
<script>
Book.renderTo("area").then(function(){
Book.setStyle("padding", "0 40px");
});
Book.renderTo("area");
</script>
</body>

View file

@ -11,7 +11,7 @@
<link rel="stylesheet" href="../reader/css/normalize.css">
<link rel="stylesheet" href="../reader/css/main.css">
<link rel="stylesheet" href="../reader/css/popup.css">
<script src="../reader/js/libs/jquery-2.1.0.min.js"></script>
<script src="../reader/js/libs/jquery.min.js"></script>
<script>
"use strict";