annotate client/digitallibrary/jquery/jquery-test-embedded-rc.html @ 847:c662bf335881 jquery

fixed a bug in geom.intersect
author hertzhaft
date Sun, 06 Mar 2011 12:58:09 +0100
parents 00d37112d062
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
726
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
2 <html xmlns="http://www.w3.org/1999/xhtml">
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
3 <head>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
4 <title>Digilib jQuery Test: embedded</title>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
5
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
6 <style type="text/css">
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
7 body {
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
8 background: silver;
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
9 }
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
10
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
11 div.digilib {
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
12 /* padding for buttons and bird-div */
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
13 padding-right: 18px;
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
14 padding-bottom: 100px;
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
15 /* width: 220px; */
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
16 }
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
17
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
18 td {
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
19 vertical-align: top;
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
20 }
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
21
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
22 #debug {
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
23 background-color: beige;
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
24 position: absolute;
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
25 top: 400px;
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
26 padding: 0px 10px;
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
27 font-family: Arial;
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
28 font-size: 9pt;
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
29 }
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
30
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
31 div._log {
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
32 color: grey;
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
33 }
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
34
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
35 div._debug {
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
36 color: darkgreen;
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
37 }
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
38
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
39 div._error {
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
40 color: red;
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
41 }
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
42
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
43 div#test:hover {
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
44 background-color: cornsilk;
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
45 }
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
46
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
47 </style>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
48
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
49 <script type="text/javascript" src="jquery-1.4.4.js"></script>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
50 <script type="text/javascript" src="jquery.cookie.js"></script>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
51 <script type="text/javascript" src="jquery.digilib.js"></script>
785
b9a75079aece geometry as first digilib plugin.
robcast
parents: 726
diff changeset
52 <script type="text/javascript" src="jquery.digilib.geometry.js"></script>
795
00d37112d062 birds eye view now as a plugin.
robcast
parents: 785
diff changeset
53 <script type="text/javascript" src="jquery.digilib.birdseye.js"></script>
726
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
54 <link rel="stylesheet" type="text/css" href="jquery.digilib.css" />
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
55
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
56
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
57 <script type="text/javascript">
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
58 $(document).ready(function(){
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
59 $('div.digilib').digilib({
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
60 interactionMode : 'embedded',
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
61 birdDivWidth : 100,
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
62 birdDivHeight : 100
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
63 });
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
64
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
65 $('div.digilib').each(function(){
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
66 console.log($(this).data('digilib').settings);
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
67 });
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
68
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
69 });
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
70
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
71 </script>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
72 </head>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
73
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
74 <body>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
75 <table>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
76 <tr>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
77 <td>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
78 <div id="digilib-1" class="digilib single">
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
79 <img src="http://localhost:18080/digitallibrary/servlet/Scaler?dw=200&amp;dh=200&amp;fn=163127KK/pageimg&amp;pn=11" />
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
80 </div>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
81 </td>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
82
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
83 <td>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
84 <div id="digilib-2" class="digilib">
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
85 <img src="http://localhost:18080/digitallibrary/servlet/Scaler?dw=200&amp;dh=200&amp;fn=163127KK/pageimg&amp;pn=12" />
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
86 </div>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
87 </td>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
88
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
89 <td>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
90 <div id="digilib-3" class="digilib">
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
91 <img src="http://localhost:18080/digitallibrary/servlet/Scaler?dw=200&amp;dh=200&amp;fn=163127KK/pageimg&amp;pn=13" />
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
92 </div>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
93 </td>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
94
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
95 <td>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
96 <div id="digilib-4" class="digilib">
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
97 <img src="http://localhost:18080/digitallibrary/servlet/Scaler?dw=200&amp;dh=200&amp;fn=163127KK/pageimg&amp;pn=14" />
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
98 </div>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
99 </td>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
100 </tr>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
101 </table>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
102 <div id="debug">DEBUG</div>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
103 <div id="test">
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
104 <img id="test" src="img/black-glass-16.png"></img>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
105 <img id="test2" src="img/black-glass-32.png"></img>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
106 </div>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
107 </body>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
108 </html>
6224f64cbd58 fixed birdZoomDiv positioning in embedded mode
robcast
parents:
diff changeset
109