comparison client/digitallibrary/greyskin/diginew.jsp @ 517:72604a10ee1a Root_jquery

fixes for zoom when birds-eye view open fixes for IE (works mostly in IE7 and IE8)
author robcast
date Fri, 04 Sep 2009 12:27:02 +0200
parents e91d6050f27d
children a113320349c0
comparison
equal deleted inserted replaced
516:2fc05626a503 517:72604a10ee1a
1 <%@ page language="java" %><%! 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <%@ page language="java" pageEncoding="UTF-8"%><%!
2 // -- JSP init ------------- 4 // -- JSP init -------------
3 5
4 // create DocumentBean instance for all JSP requests 6 // create DocumentBean instance for all JSP requests
5 digilib.servlet.DocumentBean docBean = new digilib.servlet.DocumentBean(); 7 digilib.servlet.DocumentBean docBean = new digilib.servlet.DocumentBean();
6 8
26 // add number of pages 28 // add number of pages
27 dlRequest.setValue("pt", docBean.getNumPages()); 29 dlRequest.setValue("pt", docBean.getNumPages());
28 // store objects for jsp:include 30 // store objects for jsp:include
29 pageContext.setAttribute("docBean", docBean, pageContext.REQUEST_SCOPE); 31 pageContext.setAttribute("docBean", docBean, pageContext.REQUEST_SCOPE);
30 32
31 %><html> 33 %><html xmlns="http://www.w3.org/1999/xhtml">
32 <head> 34 <head>
35 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
33 <title>Digital Document Library NG</title> 36 <title>Digital Document Library NG</title>
34 37
35 <link rel="stylesheet" type="text/css" href="diginew.css" /> 38 <link rel="stylesheet" type="text/css" href="diginew.css" />
36 39
37 <!-- <script type="text/javascript" src="fixed.js"></script> -->
38
39 <!-- <script type="text/javascript" src="debug.js"></script> --> 40 <!-- <script type="text/javascript" src="debug.js"></script> -->
40 41
41 <script type="text/javascript" src="baselib.js"></script> 42 <script type="text/javascript" src="baselib.js"></script>
42 43
43 <script type="text/javascript" src="dllib.js"></script> 44 <script type="text/javascript" src="dllib.js"></script>
44 45
45 <script language="JavaScript"> 46 <script language="JavaScript">
46 47
47 var jspVersion = "diginew.jsp 1.021"; 48 var jspVersion = "diginew.jsp 1.022";
48 var cookie = new Cookie(); 49 var cookie = new Cookie();
49 // alert(strObject(cookie)); 50 // alert(strObject(cookie));
50 51
51 var isOptionDivVisible = cookie.getbool("isOptionDivVisible"); 52 var isOptionDivVisible = cookie.getbool("isOptionDivVisible");
52 var isBirdDivVisible = cookie.getbool("isBirdDivVisible"); 53 var isBirdDivVisible = cookie.getbool("isBirdDivVisible");
134 <img id="pic"></img> 135 <img id="pic"></img>
135 </div> 136 </div>
136 137
137 <!-- sensitive overlay for zoom area etc --> 138 <!-- sensitive overlay for zoom area etc -->
138 <div id="overlay"></div> 139 <div id="overlay"></div>
140 <div id="bird-overlay"></div>
139 141
140 <!-- the zoom area selection rectangle --> 142 <!-- the zoom area selection rectangle -->
141 <div id="zoom"></div> 143 <div id="zoom"></div>
142 144
143 <!-- the bird's eye overview image --> 145 <!-- the bird's eye overview image -->
145 147
146 <!-- the bird's eye select area --> 148 <!-- the bird's eye select area -->
147 <div id="bird-area"></div> 149 <div id="bird-area"></div>
148 150
149 <!-- the arrows --> 151 <!-- the arrows -->
150 <a class="arrow" id="up" href="javascript:moveBy(0, -0.5)"></a> 152 <a class="arrow" id="up" href="javascript:moveBy(0, -0.5)"><img style="border: 0px; width: 100%; height: 100%;" src="trans.gif"/></a>
151 <a class="arrow" id="down" href="javascript:moveBy(0, 0.5)"></a> 153 <a class="arrow" id="down" href="javascript:moveBy(0, 0.5)"><img style="border: 0px; width: 100%; height: 100%;" src="trans.gif"/></a>
152 <a class="arrow" id="left" href="javascript:moveBy(-0.5, 0)"></a> 154 <a class="arrow" id="left" href="javascript:moveBy(-0.5, 0)"><img style="border: 0px; width: 100%; height: 100%;" src="trans.gif"/></a>
153 <a class="arrow" id="right" href="javascript:moveBy(0.5, 0)"></a> 155 <a class="arrow" id="right" href="javascript:moveBy(0.5, 0)"><img style="border: 0px; width: 100%; height: 100%;" src="trans.gif"/></a>
154 156
155 <!-- the about window --> 157 <!-- the about window -->
156 <div id="about" class="about" onclick="toggleAboutDiv()"> 158 <div id="about" class="about" onclick="toggleAboutDiv()">
157 <p>Digilib Graphic Viewer</p> 159 <p>Digilib Graphic Viewer</p>
158 <a href="http://digilib.berlios.de" target="_blank" > 160 <a href="http://digilib.berlios.de" target="_blank" >