home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
- <!-- The contents of this file are subject to the Netscape Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/NPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator client code, released
- March 31, 1998.
-
- The Initial Developer of the Original Code is Netscape
- Communications Corporation. Portions created by Netscape are
- Copyright (C) 1998-1999 Netscape Communications Corporation. All
- Rights Reserved.
-
- Contributor(s): Andrew Wooldridge - andreww@netscape.com -->
-
- <?xml-stylesheet href="chrome://browser/content/navExtraOverlay.css"?>
-
- <!DOCTYPE overlay SYSTEM "chrome://browser/locale/netscape.dtd">
-
- <overlay id="navExtraOverlay"
- xmlns:html="http://www.w3.org/1999/xhtml"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
- <!-- internet keyword code -->
- <!-- where is this file?
- <script language="javascript" src="chrome://navigator/content/keywords.js"/> -->
- <script language="javascript" src="chrome://browser/content/sidebarButton.js"/>
-
- <!-- Radio crap...
- <script type="application/x-javascript"><![CDATA[
-
- if (navigator.platform != "Win32")
- {
- var isOSX = (navigator.userAgent.toLowerCase().indexOf('os x') != -1);// use "os x"
- if (isOSX)
- {
- addEventListener("load", hideNetscapeRadioButtonPT, false);
- }
- }
-
- function hideNetscapeRadioButtonPT()
- {
- var n2p = document.getElementById("netscaperadio-button");
- n2p.setAttribute("hidden", "true");
- }
-
- function openNetscapeRadio()
- {
- var userAgt=navigator.userAgent.toLowerCase();
- var isWin=(userAgt.indexOf('win')!=-1);
- var radioWidth = 620;
- var radioHeight = 380;
- var radioUrl = "";
- var gotoBrowserNode = false; //open from hidden browser node or Navigator window.
-
- if (isWin) {
- radioUrl = document.getElementById('bundle_navigator_region').getString('buttons.personaltaskbar.radiobutton');
- gotoBrowserNode = true;
- } else { //all other OS/browsers go to Station Sampler
- radioUrl = document.getElementById('bundle_navigator_region').getString('buttons.personaltaskbar.radiobutton_alt');
- gotoBrowserNode = false;
- }
-
- // opens Radio@Netscape
-
- if(gotoBrowserNode){
- // need to open the radio window directly to avoid popup blocking.
- // constants taken from the current radio-launching page
- var radioWidth = 542;
- var radioHeight = 315;
- var radioTop = (screen.height - radioHeight)/2;
- var radioLeft = (screen.width - radioWidth)/2;
-
- window.open(radioUrl,
- "NetscapeRadio",
- "left=" + radioLeft + ",top=" + radioTop +
- ",width=" + radioWidth + ",height=" + radioHeight +
- ",minimize=1,scrollbars=0,status=0,resizable=no");
-
- } else {
- //linux and mac OS9 users open in a regular web page
- window.open(radioUrl,'NetscapeRadio').focus();
- }
-
- }
-
- ]]></script>
- -->
-
- <!-- Shopping buttons, etc...
- <toolbar id="PersonalToolbar" prefixonclick="onSidebarButtonClick();">
-
- <toolbarbutton class="bookmark-item nc"
- label="&shopButton.label;"
- id="netscapeshop-button"
- persist="hidden"
- insertafter="home-button"
- oncommand="window._content.location.href=document.getElementById('bundle_navigator_region').getString('buttons.personaltaskbar.shopbutton')"
- />
-
- <toolbarbutton class="bookmark-item nc"
- label="&searchButton.label;"
- id="netscapesearch-button"
- persist="hidden"
- insertafter="home-button"
- oncommand="window._content.location.href=document.getElementById('bundle_navigator_region').getString('buttons.personaltaskbar.searchbutton')"/>
-
- <toolbarbutton class="bookmark-item nc"
- label="&myNetscape.label;" insertafter="home-button"
- id="mynetscape-button" persist="hidden"
- oncommand="window._content.location.href=document.getElementById('bundle_navigator_region').getString('buttons.personaltaskbar.mynetscapebutton'); event.preventBubble();"/>
-
- <toolbarbutton class="bookmark-item nc"
- label="&radioButton.label;" insertafter="home-button"
- id="netscaperadio-button" persist="hidden"
- oncommand="openNetscapeRadio(); event.preventBubble();"/>
-
- </toolbar>
- -->
-
- <menuitem id="menu_translate" hidden="true"/>
- <menu id="debugMenu" hidden="true"/>
- <menu id="qaMenu" hidden="true"/>
- <menuseparator id="searchSeparator" hidden="true"/>
- <menu id="searchOptionsMenu" hidden="true"/>
- <menu id="menu_findTypeLinks" hidden="true"/>
- <menu id="image" hidden="true"/>
-
- </overlay>
-