Mercurial > hg > digilib-old
comparison xul/buttons.xul @ 105:ecee3ff2f4d0 vendor
XUL
Digilib Buttons in chrome
author | engler |
---|---|
date | Tue, 13 May 2003 20:59:47 +0200 |
parents | 7b5d0ff8f93f |
children |
comparison
equal
deleted
inserted
replaced
98:7b5d0ff8f93f | 105:ecee3ff2f4d0 |
---|---|
1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
2 <?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?> | 2 <?xml-stylesheet href="chrome://navigator/skin/" |
3 type="text/css"?> | |
3 <window xmlns:html="http://www.w3.org/1999/xhtml" | 4 <window xmlns:html="http://www.w3.org/1999/xhtml" |
4 xmlns= "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" > | 5 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" > |
5 <script language="JavaScript"> | 6 <script language="JavaScript"> |
6 // variable that store the texts for contexthelp | |
7 var helpText = new Array(); | 7 var helpText = new Array(); |
8 helpText[0] = "'back'-button|Click this button to load the previous image (usually the previous page of a document)."; | 8 helpText[0] = "'back'-button|Click this button to load the previous image (usually the previous page of a document)."; |
9 helpText[1] = "'next'-button|Click this button to load the next image (usually the next page of a document)."; | 9 helpText[1] = "'next'-button|Click this button to load the next image (usually the next page of a document)."; |
10 helpText[2] = "'page'-button|After clicking 'page' you will be prompted for a specific page you want to see.(br)Please note that the numbers entered into the input line refer to digital images, notwithstanding the fact that more than one text page may be on it."; | 10 helpText[2] = "'page'-button|After clicking 'page' you will be prompted for a specific page you want to see.(br)Please note that the numbers entered into the input line refer to digital images, notwithstanding the fact that more than one text page may be on it."; |
11 helpText[3] = "'digicat'-button|Click here to open a thumbnailview of the current document (image series)."; | 11 helpText[3] = "'digicat'-button|Click here to open a thumbnailview of the current document (image series)."; |
81 </popupset> | 81 </popupset> |
82 <popupset> | 82 <popupset> |
83 <popup id="help_popup"> | 83 <popup id="help_popup"> |
84 <menuitem label="Contexthelp" type="checkbox" oncommand="changeHelp();"/> | 84 <menuitem label="Contexthelp" type="checkbox" oncommand="changeHelp();"/> |
85 <menuitem label="Keep Area" type="checkbox" checked="true" oncommand="keepArea = !keepArea;" /> | 85 <menuitem label="Keep Area" type="checkbox" checked="true" oncommand="keepArea = !keepArea;" /> |
86 <menuitem label="Fit GIFs" type="checkbox" oncommand="(window.content.att[3].indexOf('f') > -1) ? window.content.att[3] = '' : window.content.att[3] = 'fit'; window.content.loadPicture(2, keepArea);" /> | 86 <menuitem label="Fit GIFs" type="checkbox" oncommand="window.content.fitGIFs();" /> |
87 </popup> | 87 </popup> |
88 </popupset> | 88 </popupset> |
89 <hbox> | 89 <hbox> |
90 <vbox flex="1" /> | 90 <vbox flex="1" /> |
91 <vbox> | 91 <vbox> |