comparison client/digitallibrary/navigation_ie.js @ 47: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 cff6aff17bb8
children
comparison
equal deleted inserted replaced
46:67bbba76f34a 47:866e798e2bef
139 } 139 }
140 } 140 }
141 141
142 142
143 function digicat() { 143 function digicat() {
144 var url = "http://" + location.host + "/docuserver/digitallibrary/digicat.html?" + att[0] + "+" + att[1]; 144 var url = "digicat.html?" + att[0] + "+" + att[1];
145 win = window.open(url, "digicat"); 145 win = window.open(url, "digicat");
146 win.focus(); 146 win.focus();
147 } 147 }
148 148
149 149
150 function ref(refselect) { 150 function ref(refselect) {
151 151
152 var hyperlinkRef = "http://" + location.host + "/docuserver/digitallibrary/digilib.jsp?"; 152 var hyperlinkRef = baseUrl + "/digilib.jsp?";
153 hyperlinkRef += att[0] + "+" + att[1] + "+" + att[2] + "+" + att[3] + "+" + att[4]; 153 hyperlinkRef += att[0] + "+" + att[1] + "+" + att[2] + "+" + att[3] + "+" + att[4];
154 154
155 if ((att[5] != 0) || (att[6] != 0) || (att[7] != 1) || (att[8] != 1)) { 155 if ((att[5] != 0) || (att[6] != 0) || (att[7] != 1) || (att[8] != 1)) {
156 hyperlinkRef += "+" + att[5] + "+" + att[6] + "+" + att[7] + "+" + att[8]; 156 hyperlinkRef += "+" + att[5] + "+" + att[6] + "+" + att[7] + "+" + att[8];
157 } 157 }