comparison client/digitallibrary/navigation_o6.js @ 50:866e798e2bef

13.8.2002 - [different files] : roc - changed all hardcoded occurrences of /docuserver/digitallibrary to work relative or take the path from the request URL. Introduced a variable baseURL to hold the URL path (up to digilib.jsp etc.). Now it should be possible to install digilib in other directories. - removed xerces.jar. It seems not necessary any more (JDK 1.3.1, Tomcat 4.0.4)
author robcast
date Thu, 15 Aug 2002 23:40:15 +0200
parents 57874b52c2fc
children
comparison
equal deleted inserted replaced
49:67bbba76f34a 50:866e798e2bef
141 } 141 }
142 } 142 }
143 143
144 144
145 function digicat() { 145 function digicat() {
146 var url = "http://" + location.host + "/docuserver/digitallibrary/digicat.html?" + att[0] + "+" + att[1]; 146 var url = "digicat.html?" + att[0] + "+" + att[1];
147 win = window.open(url, "digicat"); 147 win = window.open(url, "digicat");
148 win.focus(); 148 win.focus();
149 } 149 }
150 150
151 151
152 function ref(refselect) { 152 function ref(refselect) {
153 153
154 var hyperlinkRef = "http://" + location.host + "/docuserver/digitallibrary/digilib.jsp?"; 154 var hyperlinkRef = baseUrl + "digilib.jsp?";
155 hyperlinkRef += att[0] + "+" + att[1] + "+" + att[2] + "+" + att[3] + "+" + att[4]; 155 hyperlinkRef += att[0] + "+" + att[1] + "+" + att[2] + "+" + att[3] + "+" + att[4];
156 156
157 if ((att[5] != 0) || (att[6] != 0) || (att[7] != 1) || (att[8] != 1)) { 157 if ((att[5] != 0) || (att[6] != 0) || (att[7] != 1) || (att[8] != 1)) {
158 hyperlinkRef += "+" + att[5] + "+" + att[6] + "+" + att[7] + "+" + att[8]; 158 hyperlinkRef += "+" + att[5] + "+" + att[6] + "+" + att[7] + "+" + att[8];
159 } 159 }