Mercurial > hg > digilib-old
diff 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 |
line wrap: on
line diff
--- a/client/digitallibrary/xul/install.html Tue Jul 08 03:00:57 2003 +0200 +++ b/client/digitallibrary/xul/install.html Tue Jul 08 03:00:57 2003 +0200 @@ -1,58 +1,47 @@ <html> - <head> - <title>Alcatraz XUL Package</title> - <script type="text/javascript"> - <!-- - function doneFn ( name , result ){ - if (result) { - //alert("An error occured: " + result); - } - } +<head> + +<title>Install Alcatraz</title> + +<script type="application/x-javascript"> + +function install() { + InstallTrigger.install ( {'alcatraz' : 'alcatraz.xpi'} ); +} - function installXPI(xpiname){ - var xpi = new Object(); - xpi[xpiname] = xpiname; - InstallTrigger.install(xpi,doneFn); - } +</script> + +</head> +<body> - function addSidebarPanel(name, url) { - if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")) - { - window.sidebar.addPanel (name,url,""); - } - else - { - alert ("To use this functionality a Netscape 6+ or Mozilla browser is needed !"); - } - } +<h3>Alcatraz XUL Package</h3> +<p>contains only DIGILIB-Buttons at the moment</p> +<h4>Installation:</h4> +<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> +<ol> - //--> - </script> - </head> - <body> - <h3>Alcatraz XUL Package</h3> - <p>contains only DIGILIB-Buttons at the moment</p> - <h4>Installation:</h4> - <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> - <ol> - <li>be sure to proceed with the installation with appropriate rights to write in mozilla/chrome directory (windows: administrator; unix: root)</li> - <li> - press the "install alcatraz" button<br><br> - <form> - <input type="button" name="install alcatraz" value="install alcatraz" onClick="installXPI('alcatraz.xpi');"><br> - </form> - (this button installs alcatraz.jar in mozillas chrome directory, alcatraz.jar must be readable for any user who uses alcatraz components)<br> - </li> - <li>restart mozilla</li> - <li> - enter chrome://alcatraz/content/sidebar/install.xul in the input field of the URL bar - </li> - <li> - a dialog is asking you to install the DIGILIB-Buttons, press the button - </li> - </ol> - <hr> - <address><a href="mailto:engler@philo.unibe.ch">Daniel Engler</a></address> + <li>be sure to proceed with the installation with appropriate rights to write in mozilla/chrome directory (windows: administrator; unix: root)</li> + + <li> + press the "install alcatraz" button<br><br> + <form> + <input type="button" name="install alcatraz" value="install alcatraz" onClick="install();"><br> + </form> + (this button installs alcatraz.jar in mozillas chrome directory, alcatraz.jar must be readable for any user who uses alcatraz components)<br> + </li> + + <li>restart mozilla</li> + + <li>enter chrome://alcatraz/content/sidebar/install.xul in the input field of the URL bar</li> + + <li>a dialog is asking you to install the Alcatraz-Sidebar, open the Sidebar (F9) and press the button</li> + +</ol> + +<hr> + +<address><a href="mailto:engler@philo.unibe.ch">Daniel Engler</a></address> +<address><a href="mailto:luginbuehl@student.unibe.ch">Christian Luginbuehl</a></address> <!-- Created: Mon May 12 19:44:41 CEST 2003 --> <!-- hhmts start --> Last modified: Tue May 13 20:17:00 CEST 2003