comparison client/digitallibrary/baselib.js @ 315:d7f0045384f5

big autumn cleaning :-) - finally digilib.jsp uses the new javascript code - dito digicat.jsp - all files corresponding to the old frontend moved into /oldskin - all icons moved into /img
author robcast
date Thu, 28 Oct 2004 22:25:59 +0200
parents 4caec1a85233
children 4074c0138cf0
comparison
equal deleted inserted replaced
314:074c3117f292 315:d7f0045384f5
15 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA 15 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
16 16
17 Authors: 17 Authors:
18 Christian Luginbuehl, 01.05.2003 (first version) 18 Christian Luginbuehl, 01.05.2003 (first version)
19 DW 24.03.2004 (Changed for digiLib in Zope) 19 DW 24.03.2004 (Changed for digiLib in Zope)
20 Robert Casties, 03.08.2004 20 Robert Casties, 27.10.2004
21 21
22 */ 22 */
23
24 function identify() {
25 // used for identifying a digilib instance
26 // Relato uses that function - lugi
27 return "Digilib 0.6";
28 }
29 23
30 function getInt(n) { 24 function getInt(n) {
31 // returns always an integer 25 // returns always an integer
32 n = parseInt(n); 26 n = parseInt(n);
33 if (isNaN(n)) return 0; 27 if (isNaN(n)) return 0;
577 wsize.height = document.body.clientHeight; 571 wsize.height = document.body.clientHeight;
578 } 572 }
579 return wsize; 573 return wsize;
580 } 574 }
581 575
582 function openWin(url, title, params) { 576 function openWin(url, name, params) {
583 // open browser window 577 // open browser window
584 var ow = window.open(url, title, params); 578 var ow = window.open(url, name, params);
585 ow.focus(); 579 ow.focus();
586 } 580 }