epubjs
Version:
Render ePub documents in the browser, across many devices
38 lines (29 loc) • 918 B
HTML
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<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">
<link rel="stylesheet" href="basic.css">
<!-- EPUBJS Renderer -->
<script src="../build/epub.min.js"></script>
<script src="../hooks/default/mathml.js"></script>
<script>;
var Book = ePub("../books/mathjax_tests/");
</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>