view client/digitallibrary/jquery/jquery-test-full.html @ 713:c1fa722c570e jquery

more cosmetics: added options to validate with http://www.jslint.com still doesn't fully validate because of "== null" and if without block. removed unnecessary semicolons after if and for.
author robcast
date Sun, 30 Jan 2011 17:58:56 +0100
parents d533bdf0e64e
children 823f0050f7eb
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: silver;
            }

            div.digilib {
            }

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

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

            div.digilib div.mark {
              position: absolute;
              color: white;
              background: url('../greyskin/mark-bg-16.png');
              font-family: Verdana, Arial, Helvetica, sans-serif;
              font-weight: bold;
              font-size:11px;
              height: 15px;
              width: 16px;
              padding-top: 1px;
              text-align: center;
              z-index: 10;
            }

            div.digilib div.zoomrect {
              position: absolute;
              /* border: 2px solid #ffa060; */
              border: 2px solid #ff0000;
              z-index: 200;
              }

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

            div.about {
                position: absolute;
                width: 200px;
                top: 100px;
                left: 350px;
                height: 200px;
                padding: 0px 2px;
                font-family: Verdana, Arial, Helvetica, sans-serif;
                border: 2px solid lightcyan;
                background-color: lightgrey;
                text-align: center;
                display: none;
                z-index: 1000;
                }
                
            div.bgDrag {
                background-color: grey;
                }

        </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.cookie.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);
            });

        </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>