Return-Path: Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 39857 invoked by uid 500); 20 Jun 2002 10:13:30 -0000 Delivered-To: apmail-xml-forrest-cvs@apache.org Received: (qmail 39854 invoked from network); 20 Jun 2002 10:13:30 -0000 Received: from icarus.apache.org (63.251.56.143) by daedalus.apache.org with SMTP; 20 Jun 2002 10:13:30 -0000 Received: (qmail 95183 invoked by uid 1464); 20 Jun 2002 10:13:28 -0000 Date: 20 Jun 2002 10:13:28 -0000 Message-ID: <20020620101328.95182.qmail@icarus.apache.org> From: nicolaken@apache.org To: xml-forrest-cvs@apache.org Subject: cvs commit: xml-forrest/src/resources/forrestbar install.js X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N nicolaken 2002/06/20 03:13:28 Added: src/resources/forrestbar/content/forrestbar/images code-off.png code.png download-off.png download.png news-off.png news.png src/resources/forrestbar/content/forrestbar contents.rdf forrestbar.css forrestbarOverlay.js forrestbarOverlay.xul src/resources/forrestbar install.js Log: Added a forrest toolbar for Mozilla 1.0. to build it: build forrestbar To install it doubleclick on the forrestbar.xpi package in the build dir. To install a new version, do the same. To uninstall, do it by hand (Mozilla still doesn't have an uninstall system :-/) Revision Changes Path 1.1 xml-forrest/src/resources/forrestbar/content/forrestbar/images/code-off.png <> 1.1 xml-forrest/src/resources/forrestbar/content/forrestbar/images/code.png <> 1.1 xml-forrest/src/resources/forrestbar/content/forrestbar/images/download-off.png <> 1.1 xml-forrest/src/resources/forrestbar/content/forrestbar/images/download.png <> 1.1 xml-forrest/src/resources/forrestbar/content/forrestbar/images/news-off.png <> 1.1 xml-forrest/src/resources/forrestbar/content/forrestbar/images/news.png <> 1.1 xml-forrest/src/resources/forrestbar/content/forrestbar/contents.rdf Index: contents.rdf =================================================================== chrome://forrestbar/content/forrestbarOverlay.xul 1.1 xml-forrest/src/resources/forrestbar/content/forrestbar/forrestbar.css Index: forrestbar.css =================================================================== *.forrestbar { font-family: tahoma,verdana; font-size: 10px; padding: 0px; margin: 0px; } text.forrestbar { margin: 0px 3px 0px 3px; font-size: 12px; } textbox.forrestbar { font-size: 12px; padding: 2px; } image.forrestbar { border: 1px solid black; margin: 0px 0px 0px 3px; } image#forrestbar-logo { list-style-image: url("images/apache.png"); } button.forrestbar { padding: 1px 0px 1px 10px; } button#forrestbar-search { list-style-image: url("images/search-off.png"); } button#forrestbar-search:hover { list-style-image: url("images/search.png"); } button#forrestbar-news { list-style-image: url("images/news-off.png"); } button#forrestbar-news:hover { list-style-image: url("images/news.png"); } button#forrestbar-code { list-style-image: url("images/code-off.png"); } button#forrestbar-code:hover { list-style-image: url("images/code.png"); } button#forrestbar-download { list-style-image: url("images/download-off.png"); } button#forrestbar-download:hover { list-style-image: url("images/download.png"); } button#forrestbar-tools { list-style-image: url("images/tools-off.png"); } button#forrestbar-tools:hover { list-style-image: url("images/tools.png"); } button#forrestbar-asksam { list-style-image: url("images/asksam-off.png"); } button#forrestbar-asksam:hover { list-style-image: url("images/asksam.png"); } 1.1 xml-forrest/src/resources/forrestbar/content/forrestbar/forrestbarOverlay.js Index: forrestbarOverlay.js =================================================================== function startforrestbar() { //alert("function init"); if(document.getElementById("forrestbar").getAttribute("hidden") == "false") { removeEventListener ("load",startforrestbar, true); // Keep the event from firing a hundred more times. } } addEventListener("load", startforrestbar, true); // Run the startup function when the window loads function navigate(url) { window._content.document.location.href = url; } /**************************/ function search(searchID) { var searchItem = document.getElementById(searchID); navigate('http://www.google.com/search?q=' + searchItem.value); } function navProject(searchID) { var searchItem = document.getElementById(searchID); navigate(searchItem.selectedItem.value); } function navNews() { navigate('http://xml.apache.org/news.html'); } function navDownload() { navigate('http://xml.apache.org/dist/'); } function navCode() { navigate('http://xml.apache.org/cvs.html'); } function navTools() { navigate('http://nagoya.apache.org/'); } function navAskSam() { navigate('mailto:forrest-user@xml.apache.org'); } 1.1 xml-forrest/src/resources/forrestbar/content/forrestbar/forrestbarOverlay.xul Index: forrestbarOverlay.xul ===================================================================