Mercurial > hg > digilib-old
view client/digitallibrary/jquery/jquery-test-embedded-rc.html @ 881:82e82774e0d7 jquery
testing with jQuery 1.5.1, porting my offset bugfix
author | hertzhaft |
---|---|
date | Thu, 17 Mar 2011 21:06:54 +0100 |
parents | 00d37112d062 |
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> <title>Digilib jQuery Test: embedded</title> <style type="text/css"> body { background: silver; } div.digilib { /* padding for buttons and bird-div */ padding-right: 18px; padding-bottom: 100px; /* width: 220px; */ } td { vertical-align: top; } #debug { background-color: beige; position: absolute; top: 400px; padding: 0px 10px; font-family: Arial; font-size: 9pt; } div._log { color: grey; } div._debug { color: darkgreen; } div._error { color: red; } div#test:hover { background-color: cornsilk; } </style> <script type="text/javascript" src="jquery-1.4.4.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> <link rel="stylesheet" type="text/css" href="jquery.digilib.css" /> <script type="text/javascript"> $(document).ready(function(){ $('div.digilib').digilib({ interactionMode : 'embedded', birdDivWidth : 100, birdDivHeight : 100 }); $('div.digilib').each(function(){ console.log($(this).data('digilib').settings); }); }); </script> </head> <body> <table> <tr> <td> <div id="digilib-1" class="digilib single"> <img src="http://localhost:18080/digitallibrary/servlet/Scaler?dw=200&dh=200&fn=163127KK/pageimg&pn=11" /> </div> </td> <td> <div id="digilib-2" class="digilib"> <img src="http://localhost:18080/digitallibrary/servlet/Scaler?dw=200&dh=200&fn=163127KK/pageimg&pn=12" /> </div> </td> <td> <div id="digilib-3" class="digilib"> <img src="http://localhost:18080/digitallibrary/servlet/Scaler?dw=200&dh=200&fn=163127KK/pageimg&pn=13" /> </div> </td> <td> <div id="digilib-4" class="digilib"> <img src="http://localhost:18080/digitallibrary/servlet/Scaler?dw=200&dh=200&fn=163127KK/pageimg&pn=14" /> </div> </td> </tr> </table> <div id="debug">DEBUG</div> <div id="test"> <img id="test" src="img/black-glass-16.png"></img> <img id="test2" src="img/black-glass-32.png"></img> </div> </body> </html>