Mercurial > hg > digilib
view webapp/src/main/webapp/jquery/digilib-mpiwg.html @ 1465:091cd46e1f76
more minified resources.
author | robcast |
---|---|
date | Mon, 16 Nov 2015 16:00:04 +0100 |
parents | a42721c798ef |
children |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="viewport" content="initial-scale=1.0"/> <title>Digilib jQuery: fullscreen+mpiwg+annotations</title> <style type="text/css"> body { background: silver; } </style> <script type="text/javascript" src="jquery.min.js"></script> <script type="text/javascript" src="jquery.cookie-range.min.js"></script> <script type="text/javascript" src="annotator-dl.min.js"></script> <script type="text/javascript" src="jquery.digilib-ann.min.js"></script> <link rel="stylesheet" type="text/css" href="jquery.digilib-ann.min.css" /> <link rel="stylesheet" type="text/css" href="annotator.min.css" /> <script type="text/javascript"> $(document).ready(function(){ var opts = { interactionMode : 'fullscreen', showRegionNumbers : true, // URL of annotation server 'annotationServerUrl' : '//tuxserve03.mpiwg-berlin.mpg.de/AnnotationManager/annotator', // are annotations read-only? 'annotationsReadOnly' : false, // URL of authentication token server 'annotationTokenUrl' : '//libcoll.mpiwg-berlin.mpg.de/libviewa/template/token/getLoginToken', // URL of safe authentication token server 'annotationSafeTokenUrl' : 'https://libcoll.mpiwg-berlin.mpg.de/libviewa/template/token/getLoginToken', // function that returns a normalized URI for the annotated image 'annotationPageUri' : function (data) { var fn = data.settings.fn; return 'http://echo.mpiwg-berlin.mpg.de/documents'+(fn.charAt(0)==='/'?'':'/')+fn+'?pn='+data.settings.pn; }, // list of Annotator plugins 'annotatorPlugins' : ['Auth', 'GroupPermissions', 'Markdown', 'DigilibIntegrator', 'Store'] }; var $div = $('div#digilib'); $div.digilib(opts); }); </script> </head> <body> <div id="digilib"> <p>digilib doesn't work! Please switch on Javascript or notify the server administrator!</p> <img src="//digilib.sourceforge.net/images/digilib-logo-big.png" /> </div> </body> </html>