-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (37 loc) · 1.66 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Native range on own selection anchors in ePub</title>
<script type="text/javascript" src="bower_components/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="bower_components/hammerjs/hammer.min.js"></script>
<script type='text/javascript' src='dist/jquery.custom-selection.js'></script>
<script type='text/javascript' src='demo/js/debug-console.js'></script>
<script type='text/javascript' src='demo/js/visual-debugger.js'></script>
<script type='text/javascript' src='demo/js/main.js'></script>
<link rel="stylesheet" type="text/css" href="demo/css/style.css">
<meta name="viewport" content="minimum-scale=1.0, width=device-width, height=device-height, user-scalable=no">
</head>
<body>
<div class="container">
<aside class="right">
<div class="settings">
<button class="button-enable" onclick="enableSelection();">Enable selection</button>
<button class="button-disable" onclick="disableSelection();" disabled="disabled">Disable selection</button>
<button onclick="refreshSelection();" disabled="disabled">Refresh selection</button>
<button onclick="clearSelection();" disabled="disabled">Clear selection</button>
</div>
<div class="selected-text-status-panel">
<span>Selected text:</span>
<span class="selected-text-status"></span>
</div>
<div class="debug-console"></div>
</aside>
<div class="scaller">
<iframe id="main-frame" src="demo/iframe-contents.html"></iframe>
</div>
</div>
<div class="custom-marker start-marker"></div>
<div class="custom-marker end-marker"></div>
</body>
</html>