-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.html
37 lines (29 loc) · 1.66 KB
/
demo.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JS Diacritic Plugin for Annotator test</title>
<!-- Annotator -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
<script src="http://assets.annotateit.org/annotator/v1.2.7/annotator-full.min.js"></script>
<link rel="stylesheet" href="http://assets.annotateit.org/annotator/v1.2.7/annotator.min.css">
<!-- Diacritic Mark Plug-in -->
<script src="src/diacritic-annotator.js"></script>
<link href="src/diacritic-annotator.css" rel="stylesheet">
<!-- Demo CSS -->
<link href="demo.css" rel="stylesheet">
</head>
<body style="margin:10px">
<header>
<h1>JavaScript to Test Diacritic Plug-in for Annotator</h1>
</header>
<div id="airlock">
<p><strong>Pellentesque habitant morbi tristique</strong> senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. <em>Aenean ultricies mi vitae est.</em> Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, <code>commodo vitae</code>, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. <a href="#">Donec non enim</a> in turpis pulvinar facilisis. Ut felis.</p>
<script>
var optionstags = {
tag: ""
};
$('#airlock').annotator().annotator('addPlugin','Diacritics', {'diacritics':'ushape;http://www.halfwayproductions.com/slavonic/alphabet/images/kavyka.gif;top'});
</script>
</body>
</html>