source: DASISH/t5.6/client/branches/webannotator-basic-current-xsd/chrome/markingcollection/content/markingcollection/infoDialog.xul @ 5703

Last change on this file since 5703 was 5703, checked in by stephanie.roth@snd.gu.se, 10 years ago

Initial commit of current status quo from GitHub. TODO: Adjust client code to work with updated xsd file.

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8" ?>
2<?xml-stylesheet href="chrome://global/skin/" type="text/css" ?>
3<!DOCTYPE overlay SYSTEM "chrome://markingcollection/locale/markingcollection.dtd">
4<dialog
5    id="infoDialog"
6    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
7    xmlns:html="http://www.w3.org/1999/xhtml"
8    title="Info from annotator backend"
9    buttons="accept"
10    defaultButton="false"
11    onload="infoDialogLoad()">
12    <script type="application/x-javascript">
13            <![CDATA[       
14                function infoDialogLoad() {
15                    //set info
16                    document.getElementById("info").value = window.arguments[0].info; 
17                   
18                    if(window.arguments[0].title){
19                        document.title = window.arguments[0].title;
20                    }                 
21                }
22               
23            ]]>
24    </script>
25    <textbox  id="info" width="350" height="400" style="background-color: transparent;" flex="1"
26        multiline="true" readonly="true"
27        onoverflow="this.height = this.inputField.scrollHeight;" />
28</dialog>
Note: See TracBrowser for help on using the repository browser.