annotate webapp/src/main/webapp/jquery/digilib-ann.html @ 1125:f1be20adc98b

annotatorPlugins is now a list of plugin names (preserving order).
author robcast
date Fri, 09 Nov 2012 15:07:12 +0100
parents 1fad569ccb4f
children f14220f939d5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1084
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
2 <html xmlns="http://www.w3.org/1999/xhtml">
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
3 <head>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
4 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
5 <meta name="viewport" content="initial-scale=1.0"/>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
6 <title>Digilib jQuery: fullscreen</title>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
7
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
8 <style type="text/css">
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
9 body {
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
10 background: silver;
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
11 }
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
12 </style>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
13
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
14 <script type="text/javascript" src="jquery.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
15 <script type="text/javascript" src="jquery.cookie.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
16 <script type="text/javascript" src="jquery.digilib.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
17 <script type="text/javascript" src="jquery.digilib.geometry.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
18 <script type="text/javascript" src="jquery.digilib.arrows.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
19 <script type="text/javascript" src="jquery.range.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
20 <link rel="stylesheet" type="text/css" href="jquery.range.css" />
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
21 <script type="text/javascript" src="jquery.digilib.buttons.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
22 <script type="text/javascript" src="jquery.digilib.dialogs.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
23 <script type="text/javascript" src="jquery.digilib.sliders.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
24 <script type="text/javascript" src="jquery.digilib.birdseye.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
25 <script type="text/javascript" src="jquery.digilib.marks.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
26 <script type="text/javascript" src="jquery.digilib.regions.js"></script>
1123
1fad569ccb4f provide annotator javascript for digilib.annotator plugin.
robcast
parents: 1112
diff changeset
27 <script type="text/javascript" src="showdown.js"></script>
1fad569ccb4f provide annotator javascript for digilib.annotator plugin.
robcast
parents: 1112
diff changeset
28 <script type="text/javascript" src="annotator-dl.js"></script>
1fad569ccb4f provide annotator javascript for digilib.annotator plugin.
robcast
parents: 1112
diff changeset
29 <link rel="stylesheet" type="text/css" href="annotator.min.css" />
1fad569ccb4f provide annotator javascript for digilib.annotator plugin.
robcast
parents: 1112
diff changeset
30 <script type="text/javascript" src="jquery.digilib.annotator.js"></script>
1084
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
31 <link rel="stylesheet" type="text/css" href="jquery.digilib.css" />
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
32
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
33 <script type="text/javascript">
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
34 $(document).ready(function(){
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
35 var opts = {
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
36 interactionMode : 'fullscreen',
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
37 showRegionNumbers : true,
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
38 // URL of annotation server
1123
1fad569ccb4f provide annotator javascript for digilib.annotator plugin.
robcast
parents: 1112
diff changeset
39 //'annotationServerUrl' : 'http://tuxserve03.mpiwg-berlin.mpg.de/AnnotationManager/annotator',
1112
121d3aadfa1e real authentication for annotation user.
robcast
parents: 1101
diff changeset
40 'annotationServerUrl' : 'http://localhost:18080/AnnotationManager/annotator',
121d3aadfa1e real authentication for annotation user.
robcast
parents: 1101
diff changeset
41 //'annotationServerUrl' : 'http://tuxserve03.mpiwg-berlin.mpg.de/AnnotationManager/annotator',
1084
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
42 // URL of authentication token server
1123
1fad569ccb4f provide annotator javascript for digilib.annotator plugin.
robcast
parents: 1112
diff changeset
43 'annotationTokenUrl' : 'http://localhost:8080/test/docuviewa/template/token/getLoginToken',
1125
f1be20adc98b annotatorPlugins is now a list of plugin names (preserving order).
robcast
parents: 1123
diff changeset
44 // list of Annotator plugins
f1be20adc98b annotatorPlugins is now a list of plugin names (preserving order).
robcast
parents: 1123
diff changeset
45 'annotatorPlugins' : ['Auth', 'Permissions', 'Store', 'Markdown', 'DigilibIntegrator'],
1123
1fad569ccb4f provide annotator javascript for digilib.annotator plugin.
robcast
parents: 1112
diff changeset
46 };
1084
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
47 var $div = $('div#digilib');
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
48 $div.digilib(opts);
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
49 });
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
50
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
51 </script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
52 </head>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
53
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
54 <body>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
55 <div id="digilib">
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
56 <p>digilib doesn't work! Please switch on Javascript or notify the server administrator!</p>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
57 <img src="http://digilib.berlios.de/images/digilib-logo-big.png" />
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
58 </div>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
59 </body>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
60 </html>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
61