comparison client/digitallibrary/navigation_ie.js @ 46:cff6aff17bb8

bugfixes and new module
author luginbue
date Sun, 07 Jul 2002 18:03:54 +0200
parents 44f653ae5df5
children 866e798e2bef
comparison
equal deleted inserted replaced
45:e6349a389da2 46:cff6aff17bb8
164 } 164 }
165 165
166 166
167 function mark(refselect) { 167 function mark(refselect) {
168 168
169 if (att[4].split(";").length > 7) {
170 alert("Only 8 marks are possible at the moment!");
171 return;
172 }
173
174 document.all.lay1.onmousedown = function() { 169 document.all.lay1.onmousedown = function() {
175 var point = new Point(event); 170 var point = new Point(event);
171
172 if (att[4].split(";").length > 7) {
173 alert("Only 8 marks are possible at the moment!");
174 return;
175 }
176 176
177 if ((att[4] != "") && (att[4] != "0/0")) { 177 if ((att[4] != "") && (att[4] != "0/0")) {
178 att[4] += ";"; 178 att[4] += ";";
179 } else { 179 } else {
180 att[4] = ""; 180 att[4] = "";
181 } 181 }
182 182
183 att[4] += point.relX + "/" + point.relY; 183 att[4] += point.relX + "/" + point.relY;
184 184
185 document.all.lay1.cancleBubble = true; 185 document.all.lay1.onmousedown = function() {}
186 186
187 setMarks(); 187 setMarks();
188 } 188 }
189 } 189 }
190 190