comparison client/digitallibrary/xul/install.html @ 135:68e88c3bc575

unified scripts, nice xul sidebar, bugfixes
author luginbue
date Tue, 08 Jul 2003 03:00:57 +0200
parents d6a76e2fcb21
children 37a697fd8ec6
comparison
equal deleted inserted replaced
134:1a0496201c75 135:68e88c3bc575
1 <html> 1 <html>
2 <head> 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 3
12 function installXPI(xpiname){ 4 <title>Install Alcatraz</title>
13 var xpi = new Object();
14 xpi[xpiname] = xpiname;
15 InstallTrigger.install(xpi,doneFn);
16 }
17 5
18 function addSidebarPanel(name, url) { 6 <script type="application/x-javascript">
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 7
29 //--> 8 function install() {
30 </script> 9 InstallTrigger.install ( {'alcatraz' : 'alcatraz.xpi'} );
31 </head> 10 }
32 <body> 11
33 <h3>Alcatraz XUL Package</h3> 12 </script>
34 <p>contains only DIGILIB-Buttons at the moment</p> 13
35 <h4>Installation:</h4> 14 </head>
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> 15 <body>
37 <ol> 16
38 <li>be sure to proceed with the installation with appropriate rights to write in mozilla/chrome directory (windows: administrator; unix: root)</li> 17 <h3>Alcatraz XUL Package</h3>
39 <li> 18 <p>contains only DIGILIB-Buttons at the moment</p>
40 press the &quot;install alcatraz&quot; button<br><br> 19 <h4>Installation:</h4>
41 <form> 20 <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>
42 <input type="button" name="install alcatraz" value="install alcatraz" onClick="installXPI('alcatraz.xpi');"><br> 21 <ol>
43 </form> 22
44 (this button installs alcatraz.jar in mozillas chrome directory, alcatraz.jar must be readable for any user who uses alcatraz components)<br> 23 <li>be sure to proceed with the installation with appropriate rights to write in mozilla/chrome directory (windows: administrator; unix: root)</li>
45 </li> 24
46 <li>restart mozilla</li> 25 <li>
47 <li> 26 press the &quot;install alcatraz&quot; button<br><br>
48 enter chrome://alcatraz/content/sidebar/install.xul in the input field of the URL bar 27 <form>
49 </li> 28 <input type="button" name="install alcatraz" value="install alcatraz" onClick="install();"><br>
50 <li> 29 </form>
51 a dialog is asking you to install the DIGILIB-Buttons, press the button 30 (this button installs alcatraz.jar in mozillas chrome directory, alcatraz.jar must be readable for any user who uses alcatraz components)<br>
52 </li> 31 </li>
53 </ol> 32
54 <hr> 33 <li>restart mozilla</li>
55 <address><a href="mailto:engler@philo.unibe.ch">Daniel Engler</a></address> 34
35 <li>enter chrome://alcatraz/content/sidebar/install.xul in the input field of the URL bar</li>
36
37 <li>a dialog is asking you to install the Alcatraz-Sidebar, open the Sidebar (F9) and press the button</li>
38
39 </ol>
40
41 <hr>
42
43 <address><a href="mailto:engler@philo.unibe.ch">Daniel Engler</a></address>
44 <address><a href="mailto:luginbuehl@student.unibe.ch">Christian Luginbuehl</a></address>
56 <!-- Created: Mon May 12 19:44:41 CEST 2003 --> 45 <!-- Created: Mon May 12 19:44:41 CEST 2003 -->
57 <!-- hhmts start --> 46 <!-- hhmts start -->
58 Last modified: Tue May 13 20:17:00 CEST 2003 47 Last modified: Tue May 13 20:17:00 CEST 2003
59 <!-- hhmts end --> 48 <!-- hhmts end -->
60 </body> 49 </body>