annotate xul/annota/tools_dialog.xul @ 125:bf6d9b7a77d4

Annotation Tool to integrate in chrome sidebar
author engler
date Wed, 25 Jun 2003 15:39:38 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
125
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
1 <?xml version="1.0"?>
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
2
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
3 <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
4
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
5 <dialog id="donothing" title="tool path"
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
6 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
7 buttons="accept,cancel"
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
8 ondialogaccept="return doOK();"
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
9 ondialogcancel="return doCancel();">
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
10
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
11 <label control="digilib_path" value="tool path (where you can find digilib.jsp)"/>
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
12 <textbox id="digilib_path"/>
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
13 <script>
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
14 document.getElementById('digilib_path').value=window.arguments[0];
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
15
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
16 function doOK()
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
17 {
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
18 window.arguments[1](document.getElementById('digilib_path').value);
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
19 return true;
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
20 }
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
21
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
22 function doCancel()
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
23 {
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
24 return true;
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
25 }
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
26
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
27 </script>
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
28
bf6d9b7a77d4 Annotation Tool to integrate in chrome sidebar
engler
parents:
diff changeset
29 </dialog>