annotate webapp/src/main/webapp/jquery/digilib-ann.html @ 1112:121d3aadfa1e

real authentication for annotation user.
author robcast
date Tue, 30 Oct 2012 20:23:24 +0100
parents 34f893492adb
children 1fad569ccb4f
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>
1101
34f893492adb annotations with nicer tooltips using jquery-tools.
robcast
parents: 1085
diff changeset
15 <script type="text/javascript" src="jquery.tools.min.js"></script>
1084
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
16 <script type="text/javascript" src="jquery.cookie.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
17 <script type="text/javascript" src="jquery.digilib.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
18 <script type="text/javascript" src="jquery.digilib.geometry.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
19 <script type="text/javascript" src="jquery.digilib.arrows.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
20 <script type="text/javascript" src="jquery.range.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
21 <link rel="stylesheet" type="text/css" href="jquery.range.css" />
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
22 <script type="text/javascript" src="jquery.digilib.buttons.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
23 <script type="text/javascript" src="jquery.digilib.dialogs.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
24 <script type="text/javascript" src="jquery.digilib.sliders.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
25 <script type="text/javascript" src="jquery.digilib.birdseye.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
26 <script type="text/javascript" src="jquery.digilib.marks.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
27 <script type="text/javascript" src="jquery.digilib.regions.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
28 <script type="text/javascript" src="jquery.digilib.annotations.js"></script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
29 <link rel="stylesheet" type="text/css" href="jquery.digilib.css" />
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
30
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
31 <script type="text/javascript">
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
32 $(document).ready(function(){
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
33 var opts = {
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
34 interactionMode : 'fullscreen',
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
35 showRegionNumbers : true,
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
36 // URL of annotation server
1112
121d3aadfa1e real authentication for annotation user.
robcast
parents: 1101
diff changeset
37 'annotationServerUrl' : 'http://localhost:18080/AnnotationManager/annotator',
121d3aadfa1e real authentication for annotation user.
robcast
parents: 1101
diff changeset
38 //'annotationServerUrl' : 'http://tuxserve03.mpiwg-berlin.mpg.de/AnnotationManager/annotator',
1084
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
39 // URL of authentication token server
1112
121d3aadfa1e real authentication for annotation user.
robcast
parents: 1101
diff changeset
40 'annotationTokenUrl' : 'http://r583-1.mpiwg-berlin.mpg.de:8080/test/annotator/token/getLoginToken',
1084
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
41 };
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
42 var $div = $('div#digilib');
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
43 $div.digilib(opts);
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
44 });
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
45
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
46 </script>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
47 </head>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
48
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
49 <body>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
50 <div id="digilib">
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
51 <p>digilib doesn't work! Please switch on Javascript or notify the server administrator!</p>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
52 <img src="http://digilib.berlios.de/images/digilib-logo-big.png" />
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
53 </div>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
54 </body>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
55 </html>
1d3e8f853b9c annotations basically working.
robcast
parents:
diff changeset
56