Mercurial > hg > digilib
comparison 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 |
comparison
equal
deleted
inserted
replaced
435:a6af40003a38 | 436:95f910ecdca5 |
---|---|
22 | 22 |
23 ! Requires baselib.js ! | 23 ! Requires baselib.js ! |
24 | 24 |
25 */ | 25 */ |
26 digilibVersion = "Digilib NG"; | 26 digilibVersion = "Digilib NG"; |
27 dllibVersion = "2.028"; | 27 dllibVersion = "2.029"; |
28 isDigilibInitialized = false; // gets set to true in dl_param_init | 28 isDigilibInitialized = false; // gets set to true in dl_param_init |
29 reloadPage = true; // reload the page when parameters are changed, otherwise update only "src" attribute of scaler img | 29 reloadPage = true; // reload the page when parameters are changed, otherwise update only "src" attribute of scaler img |
30 | 30 |
31 // global variables | 31 // global variables |
32 dlTrafo = new Transform(); | 32 dlTrafo = new Transform(); |
932 | 932 |
933 function pixelByPixel() { | 933 function pixelByPixel() { |
934 addFlag("clip"); | 934 addFlag("clip"); |
935 display(); | 935 display(); |
936 } | 936 } |
937 | |
938 function resize(factor) { | |
939 setParameter("ws", factor); | |
940 display(); | |
941 var menu = getElement("sizes"); | |
942 showElement(menu, false); | |
943 } | |
944 | |
945 function sizeMenu() { | |
946 var menu = getElement("sizes"); | |
947 showElement(menu, true); | |
948 } | |
949 | |
937 // :tabSize=4:indentSize=4:noTabs=true: | 950 // :tabSize=4:indentSize=4:noTabs=true: |
938 | 951 |