1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-04 15:09:16 +02:00
epub.js/examples/contained.html

45 lines
1.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>Contained ePub Example</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="basic.css">
<!-- EPUBJS Renderer -->
<script src="../build/epub.js"></script>
<!-- Zip JS -->
<script src="../build/libs/zip.min.js"></script>
<script>
// EPUBJS.filePath = "../build/libs/zip/";
EPUBJS.cssPath = "../reader/css/";
</script>
<script>
"use strict";
var Book = ePub("../reader/moby-dick.epub");
</script>
</head>
<body>
<div id="main">
<div id="prev" onclick="Book.prevPage();" class="arrow"></div>
<div id="area"></div>
<div id="next" onclick="Book.nextPage();" class="arrow"></div>
</div>
<script>
Book.renderTo("area");
</script>
</body>
</html>