mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
37 lines
937 B
HTML
Executable file
37 lines
937 B
HTML
Executable file
<!DOCTYPE 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>
|
||
"use strict";
|
||
|
||
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>
|