Mercurial > hg > digilib-old
view client/digitallibrary/jquery/jquery-test-full.html @ 882:07926f0b9a1a jquery
make digilib.html use new jquery. sync jquery-1.5.1.js and jquery.js.
author | robcast |
---|---|
date | Tue, 22 Mar 2011 12:31:41 +0100 |
parents | 82e82774e0d7 |
children |
line wrap: on
line source
<?xml version="1.0" ?> <!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> <title>Digilib jQuery Test: fullscreen</title> <style type="text/css"> body { background: grey; } div.digilib { /* padding for buttons and bird-div */ padding-right: 18px; padding-bottom: 100px; /* width: 220px; */ } div.svg { position: absolute; background: transparent; } td { vertical-align: top; } div#test:hover { background-color: cornsilk; } #debug { background-color: beige; position: absolute; opacity: 50%; top: 4px; left: 300px; width: 500px; padding: 0px 5px; font-family: Arial; font-size: 9px; display: none; } div._log { color: grey; } div._debug { color: darkgreen; } div._error { color: red; } </style> <script type="text/javascript" src="jquery-1.5.1.js"></script> <script type="text/javascript" src="jquery.cookie.js"></script> <script type="text/javascript" src="jquery.digilib.js"></script> <script type="text/javascript" src="jquery.digilib.geometry.js"></script> <script type="text/javascript" src="jquery.digilib.birdseye.js"></script> <script type="text/javascript" src="jquery.digilib.regions.js"></script> <script type="text/javascript" src="jquery.digilib.pluginstub.js"></script> <link rel="stylesheet" type="text/css" href="jquery.digilib.css" /> <script type="text/javascript"> $(document).ready(function(){ var opts = { interactionMode : 'fullscreen', scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler', showRegionNumbers : true, autoRegionLinks : false }; var $div = $('div.digilib'); $div.digilib(opts); }); </script> </head> <body> <div id="digilib-1" class="digilib"> <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&dh=200&fn=/digisprint/jquery/FransHals-WillemVanHeythuysen" /> </div> <div id="debug">DEBUG</div> <!-- <div class="keep regioncontent"> <a href="http://www.mpiwg-berlin.mpg.de" coords="0.1,0.1,0.4,0.1">MPI fuer Wissenschaftsgeschichte</a> <a href="http://www.biblhertz.it" coords="0.5,0.8,0.4,0.1">Bibliotheca Hertziana</a> <a coords="0.3,0.5,0.15,0.1" /> </div> --> </body> </html>