view client/digitallibrary/jquery/jquery-test-full.html @ 615:ec131e9699a6 jquery

setup bird's eye view div
author hertzhaft
date Sun, 16 Jan 2011 19:21:16 +0100
parents 0bd19b6cede4
children 55e06ebb879f
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 HTML</title>

        <style type="text/css">
            body {
                 background: silver;
            }

            div.digilib {
                float: left;
                padding: 10px;
            }

            div.buttons {
                position: fixed;
                right: 5px;
                top: 5px;
                padding: 3px;
                background-color: silver;
            }

            img.button:hover {
                background-image: url('../greyskin/corona.png');
            }

            div.birdview {
                border: 1px solid white;
                position: fixed;
                bottom: 8px;
                right:  48px;
                z-index: 1;
                }

        </style>

        <script type="text/javascript" src="jquery-1.4.4.js"></script>
        <script type="text/javascript" src="dlGeometry.js"></script>
        <script type="text/javascript" src="jquery.digilib.js"></script>


        <script type="text/javascript">
            $(document).ready(function(){
                var opts = {interactionMode : 'fullscreen',
                        scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler'};
                 $('div.digilib').digilib(opts);

                 $('div.digilib').each(function(){
                         console.log($(this).data('digilib').settings);
                    });
            });

        </script>
    </head>

    <body>

        <div id="digilib-1" class="digilib single">
            <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&amp;dh=200&amp;fn=/digisprint/jquery/FransHals-WillemVanHeythuysen" />
        </div>
    </body>
</html>