diff client/digitallibrary/greyskin/dllib.js @ 436:95f910ecdca5

sizes menu; button separators; switched off debug window
author hertzhaft
date Tue, 10 Jan 2006 16:48:28 +0100
parents a6af40003a38
children da024b494561
line wrap: on
line diff
--- a/client/digitallibrary/greyskin/dllib.js	Tue Jan 10 12:28:57 2006 +0100
+++ b/client/digitallibrary/greyskin/dllib.js	Tue Jan 10 16:48:28 2006 +0100
@@ -24,7 +24,7 @@
 
 */
 digilibVersion = "Digilib NG";
-dllibVersion = "2.028";
+dllibVersion = "2.029";
 isDigilibInitialized = false;    // gets set to true in dl_param_init
 reloadPage = true; // reload the page when parameters are changed, otherwise update only "src" attribute of scaler img 
 
@@ -934,5 +934,18 @@
     addFlag("clip");
     display();
 }
+
+function resize(factor) {
+    setParameter("ws", factor);
+    display();
+    var menu = getElement("sizes");
+    showElement(menu, false);
+}
+
+function sizeMenu() {
+    var menu = getElement("sizes");
+    showElement(menu, true);
+}
+
 // :tabSize=4:indentSize=4:noTabs=true: