111
|
1 <html>
|
|
2 <head>
|
|
3 <title>Alcatraz XUL Package</title>
|
|
4 <script type="text/javascript">
|
|
5 <!--
|
|
6 function doneFn ( name , result ){
|
|
7 if (result) {
|
|
8 //alert("An error occured: " + result);
|
|
9 }
|
|
10 }
|
|
11
|
|
12 function installXPI(xpiname){
|
|
13 var xpi = new Object();
|
|
14 xpi[xpiname] = xpiname;
|
|
15 InstallTrigger.install(xpi,doneFn);
|
|
16 }
|
|
17
|
|
18 function addSidebarPanel(name, url) {
|
|
19 if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function"))
|
|
20 {
|
|
21 window.sidebar.addPanel (name,url,"");
|
|
22 }
|
|
23 else
|
|
24 {
|
|
25 alert ("To use this functionality a Netscape 6+ or Mozilla browser is needed !");
|
|
26 }
|
|
27 }
|
|
28
|
|
29 //-->
|
|
30 </script>
|
|
31 </head>
|
|
32 <body>
|
|
33 <h3>Alcatraz XUL Package</h3>
|
|
34 <p>contains only DIGILIB-Buttons at the moment</p>
|
|
35 <h4>Installation:</h4>
|
|
36 <p>(maybe it is a good idea to print this side or to set a bookmark because you will have to close the browser during the installation)</p>
|
|
37 <ol>
|
|
38 <li>be sure to proceed with the installation with appropriate rights to write in mozilla/chrome directory (windows: administrator; unix: root)</li>
|
|
39 <li>
|
|
40 press the "install alcatraz" button<br><br>
|
|
41 <form>
|
|
42 <input type="button" name="install alcatraz" value="install alcatraz" onClick="installXPI('alcatraz.xpi');"><br>
|
|
43 </form>
|
|
44 (this button installs alcatraz.jar in mozillas chrome directory, alcatraz.jar must be readable for any user who uses alcatraz components)<br>
|
|
45 </li>
|
|
46 <li>restart mozilla</li>
|
|
47 <li>
|
|
48 enter chrome://alcatraz/content/sidebar/install.xul in the input field of the URL bar
|
|
49 </li>
|
|
50 <li>
|
|
51 a dialog is asking you to install the DIGILIB-Buttons, press the button
|
|
52 </li>
|
|
53 </ol>
|
|
54 <hr>
|
|
55 <address><a href="mailto:engler@philo.unibe.ch">Daniel Engler</a></address>
|
|
56 <!-- Created: Mon May 12 19:44:41 CEST 2003 -->
|
|
57 <!-- hhmts start -->
|
|
58 Last modified: Tue May 13 20:17:00 CEST 2003
|
|
59 <!-- hhmts end -->
|
|
60 </body>
|
|
61 </html>
|